X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fssli_openssl.c;h=8ff1bcf41400c02eaef71e85b0a7463e8aff27dd;hb=21ed5998124647e79de379c35b75acaf7323677a;hp=009119d6280dddda18d0b46d754e029e3970f8f7;hpb=d23e27088431fbd43de45f03f85b1d516b9dc82a;p=umurmur.git diff --git a/src/ssli_openssl.c b/src/ssli_openssl.c index 009119d..8ff1bcf 100644 --- a/src/ssli_openssl.c +++ b/src/ssli_openssl.c @@ -411,7 +411,7 @@ static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) * 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;