diff options
author | Andreas Schnebinger <andi.schnebinger@googlemail.com> | 2019-10-12 18:48:40 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-10-16 12:37:20 +0200 |
commit | 1af26e53bce7f075e27e2fa6a78764fa6620b8ab (patch) | |
tree | 326b9deca934abd379261c111d3c42dace640cf3 /include | |
parent | c3885102f59dd7313597d1405babd06f75a94f8c (diff) |
Fix typo and create compatibility macro
CLA:trivial
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9472)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ts.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/openssl/ts.h b/include/openssl/ts.h index 231d6052f9..6bd1f89152 100644 --- a/include/openssl/ts.h +++ b/include/openssl/ts.h @@ -421,7 +421,10 @@ BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *b); unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, unsigned char *hexstr, long len); X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s); -STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs); +# if !OPENSSL_API_3 +# define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert) +# endif +STACK_OF(X509) *TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs); /*- * If ctx is NULL, it allocates and returns a new object, otherwise |