mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-04 10:17:47 +00:00
compat.sh: Restore testing against OpenSSL for pre 1.2 TLS versions
Restore compatibiltiy testing against OpenSSL for (D)TLS versions smaller that 1.2. . Fix the check for support in OpenSSL for these versions . For test cases for (D)TLS version smaller than 1.2, restore the configuration of OpenSSL client/server with the given TLS version, as it was before #5660 that broke it. Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
committed by
Gilles Peskine
parent
4eea196d44
commit
a7ba2b57af
@@ -867,12 +867,15 @@ setup_arguments()
|
||||
G_MODE=""
|
||||
case "$MODE" in
|
||||
"ssl3")
|
||||
O_MODE="ssl3"
|
||||
G_PRIO_MODE="+VERS-SSL3.0"
|
||||
;;
|
||||
"tls1")
|
||||
O_MODE="tls1"
|
||||
G_PRIO_MODE="+VERS-TLS1.0"
|
||||
;;
|
||||
"tls1_1")
|
||||
O_MODE="tls1_1"
|
||||
G_PRIO_MODE="+VERS-TLS1.1"
|
||||
;;
|
||||
"tls12")
|
||||
@@ -880,6 +883,7 @@ setup_arguments()
|
||||
G_PRIO_MODE="+VERS-TLS1.2"
|
||||
;;
|
||||
"dtls1")
|
||||
O_MODE="dtls1"
|
||||
G_PRIO_MODE="+VERS-DTLS1.0"
|
||||
G_MODE="-u"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user