From: Adriaan de Jong Date: Thu, 29 Sep 2011 17:58:16 +0000 (+0200) Subject: Fixed a typo: print the subject instead of the serial for verification errors X-Git-Tag: v2.3-alpha1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ddb7b89240e4a484c5171be6df285563eda392;p=thirdparty%2Fopenvpn.git Fixed a typo: print the subject instead of the serial for verification errors Signed-off-by: Adriaan de Jong Acked-by: James Yonan Signed-off-by: David Sommerseth --- diff --git a/ssl_verify_openssl.c b/ssl_verify_openssl.c index 5f30594d0..4f090e6d4 100644 --- a/ssl_verify_openssl.c +++ b/ssl_verify_openssl.c @@ -53,7 +53,7 @@ verify_callback (int preverify_ok, X509_STORE_CTX * ctx) if (!preverify_ok) { /* get the X509 name */ - char *subject = x509_get_serial(ctx->current_cert); + char *subject = x509_get_subject(ctx->current_cert); if (subject) {