summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/tlslegacy/tlslegacytest.c
diff options
context:
space:
mode:
authortb <>2021-11-19 18:53:10 +0000
committertb <>2021-11-19 18:53:10 +0000
commitee06c57264840b41bbfa4268ff3d304fac1409d9 (patch)
treeca9c45f564999e1c3b0473915deaf8aff354e8ae /src/regress/lib/libssl/tlslegacy/tlslegacytest.c
parent32bb60ff96268dea6bd2a2e8d5452b16d9dca49d (diff)
downloadopenbsd-ee06c57264840b41bbfa4268ff3d304fac1409d9.tar.gz
openbsd-ee06c57264840b41bbfa4268ff3d304fac1409d9.tar.bz2
openbsd-ee06c57264840b41bbfa4268ff3d304fac1409d9.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/regress/lib/libssl/tlslegacy/tlslegacytest.c')
0 files changed, 0 insertions, 0 deletions