diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-02-26 18:02:36 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-03-03 11:25:39 +0100 |
commit | fb67126ea8a1a9fadb9b60641d84808fc123cd9d (patch) | |
tree | bff46e01abd2dabca35123e422bcbc797a6ef484 /test/tls-provider.c | |
parent | Fix NULL access in ssl_build_cert_chain() when ctx is NULL. (diff) | |
download | openssl-fb67126ea8a1a9fadb9b60641d84808fc123cd9d.tar.xz openssl-fb67126ea8a1a9fadb9b60641d84808fc123cd9d.zip |
EVP_PKEY_CTX_get/settable_params: pass provider operation context
This allows making the signature operations return different
settable params when the context is initialized with
EVP_DigestSign/VerifyInit.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14338)
Diffstat (limited to 'test/tls-provider.c')
-rw-r--r-- | test/tls-provider.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tls-provider.c b/test/tls-provider.c index e8da24be0b..03e2ae1f0e 100644 --- a/test/tls-provider.c +++ b/test/tls-provider.c @@ -573,7 +573,8 @@ static int xor_gen_set_params(void *genctx, const OSSL_PARAM params[]) return 1; } -static const OSSL_PARAM *xor_gen_settable_params(void *provctx) +static const OSSL_PARAM *xor_gen_settable_params(ossl_unused void *genctx, + ossl_unused void *provctx) { static OSSL_PARAM settable[] = { OSSL_PARAM_utf8_string(OSSL_PKEY_PARAM_GROUP_NAME, NULL, 0), |