From: Kaspar Brand Date: Sun, 4 Sep 2011 16:03:38 +0000 (+0000) Subject: we might also see GeneralizedTimes in certs nowadays X-Git-Tag: 2.3.15~303 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=036e37c4cb036e182ea31889f5b347d58be24ed8;p=thirdparty%2Fapache%2Fhttpd.git we might also see GeneralizedTimes in certs nowadays git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1165060 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_log.c b/modules/ssl/ssl_engine_log.c index a4f52c69314..389f045c75d 100644 --- a/modules/ssl/ssl_engine_log.c +++ b/modules/ssl/ssl_engine_log.c @@ -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, "]");