diff options
author | tb <> | 2023-12-25 21:51:57 +0000 |
---|---|---|
committer | tb <> | 2023-12-25 21:51:57 +0000 |
commit | d92f0cb502bab2f27fd0e9c89e49c2a9dc35267b (patch) | |
tree | c00e345aeb4b92004086a4b9ba3817973b5ced40 /src/lib/libssl/tls13_lib.c | |
parent | bd5929d47ed5d4ecddaca010d10d643cb23d9e97 (diff) | |
download | openbsd-d92f0cb502bab2f27fd0e9c89e49c2a9dc35267b.tar.gz openbsd-d92f0cb502bab2f27fd0e9c89e49c2a9dc35267b.tar.bz2 openbsd-d92f0cb502bab2f27fd0e9c89e49c2a9dc35267b.zip |
Rework EVP_PKEY_set_type{,_str}()
These two functions previously wrapped a pkey_set_type() helper, which
was an utter mess because of ENGINE. With the long awaited departure of
ENGINE, this function became a lot simpler. A further simplification is
obtained by not doing the optimization to avoid an ameth lookup: this
requires walking a list of 11 ameths. We should consider bsearch()...
With this gone and a saner implementation of EVP_PKEY_free_it(), we can
implement these functions with a dozen lines of code each.
ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_lib.c')
0 files changed, 0 insertions, 0 deletions