mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 11:24:15 +01:00
Disable ALPN by default
This commit is contained in:
parent
f6521de17b
commit
83d8c73c91
@ -871,7 +871,7 @@
|
|||||||
*
|
*
|
||||||
* Uncomment this macro to enable support for ALPN.
|
* Uncomment this macro to enable support for ALPN.
|
||||||
*/
|
*/
|
||||||
#define POLARSSL_SSL_ALPN
|
//#define POLARSSL_SSL_ALPN
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def POLARSSL_SSL_SESSION_TICKETS
|
* \def POLARSSL_SSL_SESSION_TICKETS
|
||||||
|
@ -21,6 +21,8 @@ O_CLI="echo 'GET / HTTP/1.0' | $OPENSSL_CMD s_client"
|
|||||||
TESTS=0
|
TESTS=0
|
||||||
FAILS=0
|
FAILS=0
|
||||||
|
|
||||||
|
CONFIG_H='../include/polarssl/config.h'
|
||||||
|
|
||||||
MEMCHECK=0
|
MEMCHECK=0
|
||||||
FILTER='.*'
|
FILTER='.*'
|
||||||
EXCLUDE='SSLv2' # disabled by default, needs OpenSSL compiled with SSLv2
|
EXCLUDE='SSLv2' # disabled by default, needs OpenSSL compiled with SSLv2
|
||||||
@ -878,6 +880,8 @@ run_test "Version check #8 (srv min 1.2, cli max 1.1 -> fail)" \
|
|||||||
|
|
||||||
# Tests for ALPN extension
|
# Tests for ALPN extension
|
||||||
|
|
||||||
|
if grep '^#define POLARSSL_SSL_ALPN' $CONFIG_H >/dev/null; then
|
||||||
|
|
||||||
run_test "ALPN #0 (none)" \
|
run_test "ALPN #0 (none)" \
|
||||||
"$P_SRV debug_level=4" \
|
"$P_SRV debug_level=4" \
|
||||||
"$P_CLI debug_level=4" \
|
"$P_CLI debug_level=4" \
|
||||||
@ -962,6 +966,8 @@ run_test "ALPN #6 (both, no common)" \
|
|||||||
-C "Application Layer Protocol is 1234" \
|
-C "Application Layer Protocol is 1234" \
|
||||||
-S "Application Layer Protocol is 1234"
|
-S "Application Layer Protocol is 1234"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# Final report
|
# Final report
|
||||||
|
|
||||||
echo "------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user