summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-03-30 21:46:13 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-04-02 17:34:27 +0100
commitfa0a9d715e7e35d4f597683c16b643343245fa26 (patch)
treebc7a1ade98acfb9609cf4b770a638c24f41ef1e3 /include
parent2d5a1cfab8af8a282c62a3e1562aab1ad905b3e9 (diff)
Fix X509_PUBKEY cached key handling.
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 <emilia@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509.h1
1 files changed, 1 insertions, 0 deletions
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