src: h2 requires >= TLSv1.2

This commit is contained in:
Tatsuhiro Tsujikawa 2017-02-14 22:21:35 +09:00
parent 19a311ad62
commit 56e86cd944
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ bool check_http2_cipher_black_list(SSL *ssl) {
bool check_http2_tls_version(SSL *ssl) { bool check_http2_tls_version(SSL *ssl) {
auto tls_ver = SSL_version(ssl); auto tls_ver = SSL_version(ssl);
return tls_ver == TLS1_2_VERSION; return tls_ver >= TLS1_2_VERSION;
} }
bool check_http2_requirement(SSL *ssl) { bool check_http2_requirement(SSL *ssl) {