diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-23 11:48:35 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 18:08:41 +1000 |
commit | 644c5dd366913d9297db8e0693a754e2d45c9089 (patch) | |
tree | b11b63227cf04b7672e265744993001482c49ea9 /providers/implementations/ciphers/cipher_chacha20.c | |
parent | 35c76a528bb14611d7ff2c77762b16cf28c1fef3 (diff) |
prov: upport modified gettable/settable ctx calls for ciphers
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14240)
Diffstat (limited to 'providers/implementations/ciphers/cipher_chacha20.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_chacha20.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/providers/implementations/ciphers/cipher_chacha20.c b/providers/implementations/ciphers/cipher_chacha20.c index bee1bb925b..9bce5b0914 100644 --- a/providers/implementations/ciphers/cipher_chacha20.c +++ b/providers/implementations/ciphers/cipher_chacha20.c @@ -95,7 +95,8 @@ static const OSSL_PARAM chacha20_known_gettable_ctx_params[] = { OSSL_PARAM_size_t(OSSL_CIPHER_PARAM_IVLEN, NULL), OSSL_PARAM_END }; -const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *provctx) +const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *cctx, + ossl_unused void *provctx) { return chacha20_known_gettable_ctx_params; } @@ -135,7 +136,8 @@ static const OSSL_PARAM chacha20_known_settable_ctx_params[] = { OSSL_PARAM_size_t(OSSL_CIPHER_PARAM_IVLEN, NULL), OSSL_PARAM_END }; -const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *provctx) +const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *cctx, + ossl_unused void *provctx) { return chacha20_known_settable_ctx_params; } |