From ccb08f98aea68cbafee75c6602768a85d1e29b7f Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 10 Feb 2001 00:56:45 +0000 Subject: Fix CRL printing to correctly show when there are no revoked certificates. Make ca.c correctly initialize the revocation date. Make ASN1_UTCTIME_set_string() and ASN1_GENERALIZEDTIME_set_string() set the string type: so they can initialize ASN1_TIME structures properly. --- crypto/asn1/a_utctm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/asn1/a_utctm.c') diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c index 6ddeaff..7cb6464 100644 --- a/crypto/asn1/a_utctm.c +++ b/crypto/asn1/a_utctm.c @@ -179,6 +179,7 @@ int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, char *str) { ASN1_STRING_set((ASN1_STRING *)s, (unsigned char *)str,t.length); + s->type = V_ASN1_UTCTIME; } return(1); } -- cgit v1.1