From b60d6e46d87992afb86f4f0fce30103aa5b4ebfb Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 20 Feb 2025 17:16:30 +0100 Subject: [PATCH] Change correct code that came up as a false positive in checkbashisms Signed-off-by: Gilles Peskine --- tests/ssl-opt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 89099aedf5..823a77d681 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -11045,7 +11045,7 @@ run_test "DTLS-SRTP all profiles supported. server doesn't support mki." \ -c "selected srtp profile" \ -c "DTLS-SRTP key material is"\ -c "DTLS-SRTP no mki value negotiated"\ - -g "find_in_both '^ *Keying material: [0-9A-F]*$'"\ + -g "find_in_both '^ *Keying material: [0-9A-F]*\$'"\ -c "dumping 'sending mki' (8 bytes)" \ -C "dumping 'received mki' (8 bytes)" \ -C "error" @@ -11061,7 +11061,7 @@ run_test "DTLS-SRTP all profiles supported. openssl client." \ -s "selected srtp profile" \ -s "server hello, adding use_srtp extension" \ -s "DTLS-SRTP key material is"\ - -g "find_in_both '^ *Keying material: [0-9A-F]*$'"\ + -g "find_in_both '^ *Keying material: [0-9A-F]*\$'"\ -c "SRTP Extension negotiated, profile=SRTP_AES128_CM_SHA1_80" requires_config_enabled MBEDTLS_SSL_DTLS_SRTP