diff options
author | Richard Levitte <levitte@openssl.org> | 2019-08-23 14:03:28 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-09-03 10:36:49 +0200 |
commit | 3ca9d210c94b9b88b89b224797aa403dfe97ccce (patch) | |
tree | 6e365bd489d75e5d4a8ae814103edbfecc715715 /crypto/err/openssl.txt | |
parent | Fix Coverity 1453452: Control flow issues (DEADCODE) (diff) | |
download | openssl-3ca9d210c94b9b88b89b224797aa403dfe97ccce.tar.xz openssl-3ca9d210c94b9b88b89b224797aa403dfe97ccce.zip |
Refactor how KEYMGMT methods get associated with other methods
KEYMGMT methods were attached to other methods after those were fully
created and registered, thereby creating a potential data race, if two
threads tried to create the exact same method at the same time.
Instead of this, we change the method creating function to take an
extra data parameter, passed all the way from the public fetching
function. In the case of EVP_KEYEXCH, we pass all the necessary data
that evp_keyexch_from_dispatch() needs to be able to fetch the
appropriate KEYMGMT method on the fly.
Fixes #9592
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9678)
Diffstat (limited to 'crypto/err/openssl.txt')
-rw-r--r-- | crypto/err/openssl.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 58f6c4894f..9b682d5084 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -2484,6 +2484,7 @@ EVP_R_NOT_XOF_OR_INVALID_LENGTH:178:not XOF or invalid length EVP_R_NO_CIPHER_SET:131:no cipher set EVP_R_NO_DEFAULT_DIGEST:158:no default digest EVP_R_NO_DIGEST_SET:139:no digest set +EVP_R_NO_KEYMGMT_AVAILABLE:199:no keymgmt available EVP_R_NO_KEYMGMT_PRESENT:196:no keymgmt present EVP_R_NO_KEY_SET:154:no key set EVP_R_NO_OPERATION_SET:149:no operation set |