diff options
author | tb <> | 2021-11-19 18:53:10 +0000 |
---|---|---|
committer | tb <> | 2021-11-19 18:53:10 +0000 |
commit | 3d755921799d0394eade3c0043ddc31a5a71be7c (patch) | |
tree | ca9c45f564999e1c3b0473915deaf8aff354e8ae /src/lib/libcrypto/ct/ct_log.c | |
parent | 4416af51ae397e0cc3c3a0f3e64d26068bf641b7 (diff) | |
download | openbsd-3d755921799d0394eade3c0043ddc31a5a71be7c.tar.gz openbsd-3d755921799d0394eade3c0043ddc31a5a71be7c.tar.bz2 openbsd-3d755921799d0394eade3c0043ddc31a5a71be7c.zip |
libssl: don't reach for pkey->save_type.
For some strange historical reason ECDSA_sign() and ECDSA_verify}() have
a type argument that they ignore. For another strange historical reason,
the type passed to them from libssl is pkey->save_type, which is used to
avoid expensive engine lookups when setting the pkey type... Whatever the
aforementioned reasons were, we can't access pkey->save_type with the
OpenSSL 1.1 API, and this is thus in the way of making EVP_PKEY opaque.
Simply pass in 0 instead.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ct/ct_log.c')
0 files changed, 0 insertions, 0 deletions