From 036e37c4cb036e182ea31889f5b347d58be24ed8 Mon Sep 17 00:00:00 2001 From: Kaspar Brand Date: Sun, 4 Sep 2011 16:03:38 +0000 Subject: [PATCH] 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 --- modules/ssl/ssl_engine_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ssl/ssl_engine_log.c b/modules/ssl/ssl_engine_log.c index a4f52c6931..389f045c75 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, "]"); -- 2.40.0