Fix typo and create compatibility macro
[openssl.git] / apps / ts.c
index aef74adce831fbe30fb06aa1a37f009b8e9373d8..b45c262789ff30001f449664916cbfe57ad922fb 100644 (file)
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -921,7 +921,7 @@ static TS_VERIFY_CTX *create_verify_ctx(const char *data, const char *digest,
 
     /* Loading untrusted certificates. */
     if (untrusted
-        && TS_VERIFY_CTS_set_certs(ctx, TS_CONF_load_certs(untrusted)) == NULL)
+        && TS_VERIFY_CTX_set_certs(ctx, TS_CONF_load_certs(untrusted)) == NULL)
         goto err;
     ret = 1;