diff options
author | tb <> | 2023-12-25 21:51:57 +0000 |
---|---|---|
committer | tb <> | 2023-12-25 21:51:57 +0000 |
commit | 2461983c7f66552bd32868baa995cd64d1496791 (patch) | |
tree | c00e345aeb4b92004086a4b9ba3817973b5ced40 /src/lib/libc/stdlib/system.3 | |
parent | 0cde91bd97376d9292dd7372fc59f6fa7fc599df (diff) | |
download | openbsd-2461983c7f66552bd32868baa995cd64d1496791.tar.gz openbsd-2461983c7f66552bd32868baa995cd64d1496791.tar.bz2 openbsd-2461983c7f66552bd32868baa995cd64d1496791.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/libc/stdlib/system.3')
0 files changed, 0 insertions, 0 deletions