summaryrefslogtreecommitdiffstats
path: root/providers/implementations/ciphers/cipher_rc4_hmac_md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/ciphers/cipher_rc4_hmac_md5.c')
-rw-r--r--providers/implementations/ciphers/cipher_rc4_hmac_md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_rc4_hmac_md5.c b/providers/implementations/ciphers/cipher_rc4_hmac_md5.c
index 82ef7890b5..ec18777143 100644
--- a/providers/implementations/ciphers/cipher_rc4_hmac_md5.c
+++ b/providers/implementations/ciphers/cipher_rc4_hmac_md5.c
@@ -153,7 +153,7 @@ static int rc4_hmac_md5_set_ctx_params(void *vctx, const OSSL_PARAM params[])
const OSSL_PARAM *p;
size_t sz;
- if (params == NULL)
+ if (ossl_param_is_empty(params))
return 1;
p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_KEYLEN);