fix invalid use of incomplete type X509_STORE_CTX
[openssl.git] / doc / ssl / SSL_CTX_set_verify.pod
index 7d7195d9cb98460f056555adf5fe78999ca4388b..96a98acaacab94ad66bac580db2c2f67babedad1 100644 (file)
@@ -224,7 +224,7 @@ L<SSL_get_ex_data_X509_STORE_CTX_idx(3)>).
      */
     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);
     }