You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by kb...@apache.org on 2011/09/04 18:03:39 UTC

svn commit: r1165060 - /httpd/httpd/trunk/modules/ssl/ssl_engine_log.c

Author: kbrand
Date: Sun Sep  4 16:03:38 2011
New Revision: 1165060

URL: http://svn.apache.org/viewvc?rev=1165060&view=rev
Log:
we might also see GeneralizedTimes in certs nowadays

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_log.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_log.c?rev=1165060&r1=1165059&r2=1165060&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_log.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_log.c Sun Sep  4 16:03:38 2011
@@ -153,10 +153,10 @@ void ssl_log_cxerror(const char *file, i
                 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, "]");