Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
83d8c73c
Commit
83d8c73c
authored
Apr 07, 2014
by
Manuel Pégourié-Gonnard
Browse files
Disable ALPN by default
parent
f6521de1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
include/polarssl/config.h
include/polarssl/config.h
+1
-1
tests/ssl-opt.sh
tests/ssl-opt.sh
+6
-0
No files found.
include/polarssl/config.h
View file @
83d8c73c
...
...
@@ -871,7 +871,7 @@
*
* Uncomment this macro to enable support for ALPN.
*/
#define POLARSSL_SSL_ALPN
//
#define POLARSSL_SSL_ALPN
/**
* \def POLARSSL_SSL_SESSION_TICKETS
...
...
tests/ssl-opt.sh
View file @
83d8c73c
...
...
@@ -21,6 +21,8 @@ O_CLI="echo 'GET / HTTP/1.0' | $OPENSSL_CMD s_client"
TESTS
=
0
FAILS
=
0
CONFIG_H
=
'../include/polarssl/config.h'
MEMCHECK
=
0
FILTER
=
'.*'
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
if
grep
'^#define POLARSSL_SSL_ALPN'
$CONFIG_H
>
/dev/null
;
then
run_test
"ALPN #0 (none)"
\
"
$P_SRV
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"
\
-S
"Application Layer Protocol is 1234"
fi
# Final report
echo
"------------------------------------------------------------------------"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment