Skip to content
Commit d2ec189f authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Remove X509_PUBKEY lock.



Cache the decoded public key when an X509_PUBKEY structure is initially
parsed so no locking is required. Ignore any decode errors.

When an application calls X509_PUBKEY_get0() subsequently it will either
get the cached key or the decode operation will be repeated which will
return an appropriate error.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 703f44e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment