Fix X509_PUBKEY cached key handling.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 30 Mar 2016 20:46:13 +0000 (21:46 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 2 Apr 2016 16:34:27 +0000 (17:34 +0100)
commitfa0a9d715e7e35d4f597683c16b643343245fa26
treebc7a1ade98acfb9609cf4b770a638c24f41ef1e3
parent2d5a1cfab8af8a282c62a3e1562aab1ad905b3e9
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>
crypto/x509/x509_err.c
crypto/x509/x_pubkey.c
include/openssl/x509.h