diff options
author | Richard Levitte <levitte@openssl.org> | 2019-09-21 20:57:51 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-09-23 09:13:25 +0200 |
commit | 320408382046db015c9a9cc04ae91c2bcd0e5c4c (patch) | |
tree | 46d9721a3d9ce06444f5052bedcd334f38d94315 /crypto/siphash | |
parent | include/openssl/macros.h: better OPENSSL_FUNC fallback (diff) | |
download | openssl-320408382046db015c9a9cc04ae91c2bcd0e5c4c.tar.xz openssl-320408382046db015c9a9cc04ae91c2bcd0e5c4c.zip |
Rework cipher / digest fetching for legacy nids with multiple name support
With multiple names, it's no longer viable to just grab the "first" in
the set and use that to find the legacy NID. Instead, all names for
an algorithm must be checked, and if we encounter more than one NID
asssociated with those names, we consider it an error and make that
method unloadable.
This ensures that all methods that do have an internal NID associated
will get that NID in their structure, thereby ensuring that other
parts of libcrypto that haven't gone away from using NIDs for
comparison will continue to work as expected.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9969)
Diffstat (limited to 'crypto/siphash')
0 files changed, 0 insertions, 0 deletions