From fa0a9d715e7e35d4f597683c16b643343245fa26 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 30 Mar 2016 21:46:13 +0100 Subject: Fix X509_PUBKEY cached key handling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't decode a public key in X509_PUBKEY_get0(): that is handled when the key is parsed using x509_pubkey_decode() instead. Reviewed-by: Emilia Käsper --- include/openssl/x509.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/openssl/x509.h b/include/openssl/x509.h index 0ad753c71e..4f22dc3050 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -1078,6 +1078,7 @@ void ERR_load_X509_strings(void); # define X509_F_X509_NAME_ONELINE 116 # define X509_F_X509_NAME_PRINT 117 # define X509_F_X509_PRINT_EX_FP 118 +# define X509_F_X509_PUBKEY_DECODE 148 # define X509_F_X509_PUBKEY_GET0 119 # define X509_F_X509_PUBKEY_SET 120 # define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144 -- cgit v1.2.3