summaryrefslogtreecommitdiffstats
path: root/apps/ts.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-18 14:42:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-18 14:42:27 +0000
commitc679fb298ea8a94764a594d07b97823c4615ea4e (patch)
treef3b6d23ff241108c6690de30a6495b1d1014937e /apps/ts.c
parent17c7cad5458758a2b1a574718bf9e1f58a00a0c2 (diff)
Add new function X509_STORE_set_verify_cb and use it in apps
Diffstat (limited to 'apps/ts.c')
-rw-r--r--apps/ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ts.c b/apps/ts.c
index bedb602fd5..5fa9f7fda0 100644
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -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)