]> granicus.if.org Git - apache/commitdiff
we might also see GeneralizedTimes in certs nowadays
authorKaspar Brand <kbrand@apache.org>
Sun, 4 Sep 2011 16:03:38 +0000 (16:03 +0000)
committerKaspar Brand <kbrand@apache.org>
Sun, 4 Sep 2011 16:03:38 +0000 (16:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1165060 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_log.c

index a4f52c69314adfd24929d62d175bab717ac7c175..389f045c75ddfdad4d776bb439e08b561d2a7185 100644 (file)
@@ -153,10 +153,10 @@ void ssl_log_cxerror(const char *file, int line, int level,
                 BIO_puts(bio, "(ERROR)");
 
             BIO_puts(bio, " / notbefore: ");
-            ASN1_UTCTIME_print(bio, X509_get_notBefore(cert));
+            ASN1_TIME_print(bio, X509_get_notBefore(cert));
 
             BIO_puts(bio, " / notafter: ");
-            ASN1_UTCTIME_print(bio, X509_get_notAfter(cert));
+            ASN1_TIME_print(bio, X509_get_notAfter(cert));
 
             BIO_puts(bio, "]");