From: Dr. Matthias St. Pierre Date: Fri, 25 Jan 2019 07:40:46 +0000 (+0100) Subject: X509_STORE: fix two misspelled compatibility macros X-Git-Tag: openssl-3.0.0-alpha1~2612 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c75f03b39de2fa7d006bc0f0d7c58235a54d9bb;p=oweals%2Fopenssl.git X509_STORE: fix two misspelled compatibility macros Fixes #8084 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8086) --- diff --git a/include/openssl/x509_vfy.h b/include/openssl/x509_vfy.h index 0df8028233..e9a70f57f7 100644 --- a/include/openssl/x509_vfy.h +++ b/include/openssl/x509_vfy.h @@ -366,7 +366,11 @@ X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx); # define X509_STORE_CTX_set_chain X509_STORE_CTX_set0_untrusted # define X509_STORE_CTX_trusted_stack X509_STORE_CTX_set0_trusted_stack # define X509_STORE_get_by_subject X509_STORE_CTX_get_by_subject +# define X509_STORE_get1_certs X509_STORE_CTX_get1_certs +# define X509_STORE_get1_crls X509_STORE_CTX_get1_crls +/* the following macro is misspelled; use X509_STORE_get1_certs instead */ # define X509_STORE_get1_cert X509_STORE_CTX_get1_certs +/* the following macro is misspelled; use X509_STORE_get1_crls instead */ # define X509_STORE_get1_crl X509_STORE_CTX_get1_crls #endif