unfortunately, this does not work as expected (yet)

This commit is contained in:
Philipp Hancke 2010-12-03 17:30:06 +01:00
parent b50fd22a63
commit 9b6ef4906d
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,7 @@ tls_verify_callback(int preverify_ok, X509_STORE_CTX *ctx)
X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), buf, sizeof buf);
printf("depth %d: %s\n", X509_STORE_CTX_get_error_depth(ctx), buf);
}
#if 0
if (!preverify_ok)
{
int err;
@ -164,6 +165,7 @@ tls_verify_callback(int preverify_ok, X509_STORE_CTX *ctx)
}
}
#endif
return MY_TRUE;
} /* tls_verify_callback() */