Resolves: https://scan5.scan.coverity.com/#/project-view/65138/10222?selectedIssue=
1681392
Fixes: 5b310281af9a ("SRTP: Fixup settable input limits and test them.")
Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
MergeDate: Wed Feb 18 16:34:01 2026
(Merged from https://github.com/openssl/openssl/pull/30040)
static int kdf_srtpkdf_check_key(KDF_SRTPKDF *ctx)
{
- const EVP_CIPHER *cipher = cipher = ossl_prov_cipher_cipher(&ctx->cipher);
+ const EVP_CIPHER *cipher = ossl_prov_cipher_cipher(&ctx->cipher);
if (cipher != NULL) {
if (ctx->key == NULL) {