mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-16 13:20:51 +00:00
Don't use the cipher suite in check_openssl_server_bug
We can detect PSK based on $TYPE. This allows more flexibility in how cipher suites are spelled. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
60f8eaa3b4
commit
292cd6f4e5
@ -205,7 +205,7 @@ filter()
|
||||
check_openssl_server_bug()
|
||||
{
|
||||
if test "X$VERIFY" = "XYES" && is_dtls "$MODE" && \
|
||||
echo "$1" | grep "^TLS_PSK" >/dev/null;
|
||||
test "$TYPE" = "PSK";
|
||||
then
|
||||
SKIP_NEXT="YES"
|
||||
fi
|
||||
@ -1029,7 +1029,7 @@ for VERIFY in $VERIFIES; do
|
||||
if [ "X" != "X$M_CIPHERS" ]; then
|
||||
start_server "OpenSSL"
|
||||
for i in $M_CIPHERS; do
|
||||
check_openssl_server_bug $i
|
||||
check_openssl_server_bug
|
||||
run_client mbedTLS $i
|
||||
done
|
||||
stop_server
|
||||
|
Loading…
x
Reference in New Issue
Block a user