From 6a73da167f509cb394877ddce4f154b0991a2635 Mon Sep 17 00:00:00 2001 From: choury Date: Mon, 17 Oct 2016 15:30:14 +0800 Subject: [PATCH] fix invalid use of incomplete type X509_STORE_CTX CLA: trivial Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (cherry picked from commit ba6017a19346a169ca09bb67427ccf6fc56af0af) --- doc/ssl/SSL_CTX_set_verify.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ssl/SSL_CTX_set_verify.pod b/doc/ssl/SSL_CTX_set_verify.pod index 7d7195d9cb..96a98acaac 100644 --- a/doc/ssl/SSL_CTX_set_verify.pod +++ b/doc/ssl/SSL_CTX_set_verify.pod @@ -224,7 +224,7 @@ L). */ if (!preverify_ok && (err == X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT)) { - X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), buf, 256); + X509_NAME_oneline(X509_get_issuer_name(err_cert), buf, 256); printf("issuer= %s\n", buf); } -- 2.25.1