Add new function X509_STORE_set_verify_cb and use it in apps

This commit is contained in:
Dr. Stephen Henson
2009-10-18 14:42:27 +00:00
parent 17c7cad545
commit c679fb298e
7 changed files with 14 additions and 5 deletions

View File

@@ -1083,7 +1083,7 @@ static X509_STORE *create_cert_store(char *ca_path, char *ca_file)
cert_ctx = X509_STORE_new();
/* Setting the callback for certificate chain verification. */
X509_STORE_set_verify_cb_func(cert_ctx, verify_cb);
X509_STORE_set_verify_cb(cert_ctx, verify_cb);
/* Adding a trusted certificate directory source. */
if (ca_path)