diff options
author | Nicola Tuveri <nic.tuv@gmail.com> | 2020-10-21 01:02:04 +0300 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-10-22 12:27:39 +1000 |
commit | 3d914185b7830a5530b31d3430c9cc16835aeb02 (patch) | |
tree | 0f3a856dcad8ffbb3e0567f326b274d137000eff /test | |
parent | a135948ddaa4deff369cfaeb768efd603649f4de (diff) |
Constify OSSL_FUNC_keymgmt_has()
The keydata argument of OSSL_FUNC_keymgmt_has() should be read-only.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13200)
Diffstat (limited to 'test')
-rw-r--r-- | test/tls-provider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tls-provider.c b/test/tls-provider.c index d3188d0c20..184b926881 100644 --- a/test/tls-provider.c +++ b/test/tls-provider.c @@ -418,9 +418,9 @@ static void xor_freedata(void *keydata) OPENSSL_free(keydata); } -static int xor_has(void *vkey, int selection) +static int xor_has(const void *vkey, int selection) { - XORKEY *key = vkey; + const XORKEY *key = vkey; int ok = 0; if (key != NULL) { |