summaryrefslogtreecommitdiffstats
path: root/apps/ts.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-18 14:40:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-18 14:40:33 +0000
commit6aa1770c6d9c305caf0b0798e55c94797be271ec (patch)
tree320cf5e5eb44bf1ce405e0b7c9d16863a5f06759 /apps/ts.c
parent122276a7b464ab8f8414f31ecb86a74f6467c49d (diff)
Use new X509_STORE_set_verify_cb function instead of old macro.
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)