mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-01 22:20:58 +00:00
compat.sh: remove check_openssl_server_bug
As there is no $VERIFY for PSK test cases, check_openssl_server_bug is not functional in compat.sh. Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
35c0eadf0f
commit
c66a46f734
@ -200,17 +200,6 @@ filter()
|
|||||||
echo "$NEW_LIST" | sed -e 's/[[:space:]][[:space:]]*/ /g' -e 's/^ //' -e 's/ $//'
|
echo "$NEW_LIST" | sed -e 's/[[:space:]][[:space:]]*/ /g' -e 's/^ //' -e 's/ $//'
|
||||||
}
|
}
|
||||||
|
|
||||||
# OpenSSL 1.0.1h with -Verify wants a ClientCertificate message even for
|
|
||||||
# PSK ciphersuites with DTLS, which is incorrect, so disable them for now
|
|
||||||
check_openssl_server_bug()
|
|
||||||
{
|
|
||||||
if test "X$VERIFY" = "XYES" && is_dtls "$MODE" && \
|
|
||||||
test "$TYPE" = "PSK";
|
|
||||||
then
|
|
||||||
SKIP_NEXT="YES"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
filter_ciphersuites()
|
filter_ciphersuites()
|
||||||
{
|
{
|
||||||
if [ "X" != "X$FILTER" -o "X" != "X$EXCLUDE" ];
|
if [ "X" != "X$FILTER" -o "X" != "X$EXCLUDE" ];
|
||||||
@ -1045,7 +1034,6 @@ for MODE in $MODES; do
|
|||||||
start_server "OpenSSL"
|
start_server "OpenSSL"
|
||||||
translate_ciphers m $M_CIPHERS
|
translate_ciphers m $M_CIPHERS
|
||||||
for i in $ciphers; do
|
for i in $ciphers; do
|
||||||
check_openssl_server_bug
|
|
||||||
run_client mbedTLS ${i%%=*} ${i#*=}
|
run_client mbedTLS ${i%%=*} ${i#*=}
|
||||||
done
|
done
|
||||||
stop_server
|
stop_server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user