Would throw a dereferencing pointer to incomplete type previously. This
change is compatible with both openssl 1.1.0 and 1.0.2, the only
supported openssl releases.
Building with autotools and openssl 1.1.0 does still not work.
* it for something special
*/
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);
Log_warn("issuer= %s", buf);
}
return 1;