projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print out zero length string properly.
[oweals/openssl.git]
/
crypto
/
asn1
/
a_gentm.c
diff --git
a/crypto/asn1/a_gentm.c
b/crypto/asn1/a_gentm.c
index def79062a57de3d0397eb0732a3fe2879eda7932..4114f7e31ac565eebd383a2a95494075757eb105 100644
(file)
--- a/
crypto/asn1/a_gentm.c
+++ b/
crypto/asn1/a_gentm.c
@@
-176,6
+176,11
@@
int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *d)
o++;
}
}
+ else
+ {
+ /* Missing time zone information. */
+ goto err;
+ }
return(o == l);
err:
return(0);