Add ALPN tests to ssl-opt.sh

Only self-op for now, required peer versions are a bit high:
- OpenSSL 1.0.2-beta
- GnuTLS 3.2.0 (released 2013-05-10) (gnutls-cli only)
This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-07 12:42:04 +02:00
parent 89e35798ae
commit f6521de17b
3 changed files with 91 additions and 3 deletions

View file

@ -396,7 +396,7 @@ static void ssl_write_alpn_ext( ssl_context *ssl,
return;
}
SSL_DEBUG_MSG( 3, ( "client hello, adding ALPN extension" ) );
SSL_DEBUG_MSG( 3, ( "client hello, adding alpn extension" ) );
*p++ = (unsigned char)( ( TLS_EXT_ALPN >> 8 ) & 0xFF );
*p++ = (unsigned char)( ( TLS_EXT_ALPN ) & 0xFF );