diff options
author | Richard Levitte <levitte@openssl.org> | 2019-10-15 11:35:09 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-17 13:01:15 +0200 |
commit | cd32a0f5894344b6c8739a3586a20683a6bf2d5a (patch) | |
tree | 4fe931ad6bccfc6010880123471a686d9f5047e8 /crypto/bn/bn_gcd.c | |
parent | 13aa5d29601683e0971763836ec37302fc7cece9 (diff) |
Don't abuse the API when that's not what is tested
test_EVP_PKEY_CTX_get_set_params() in test/evp_extra_test.c abused
previously sloppy checking in EVP_PKEY_sign_init_ex(), by passing a
"key to sign with" that was really just domain parameters.
Now that underlying provider import of key payload has become a bit
more strict, that leads to errors, so we need to provide at least a
public part (even though fake), and because this is a signing
operation, a private part as well.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10169)
Diffstat (limited to 'crypto/bn/bn_gcd.c')
0 files changed, 0 insertions, 0 deletions