Commit 87360b4f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Require TLSv.12 for h2

parent 8e0fcd39
...@@ -940,11 +940,10 @@ bool check_http2_requirement(SSL *ssl) ...@@ -940,11 +940,10 @@ bool check_http2_requirement(SSL *ssl)
auto tls_ver = SSL_version(ssl); auto tls_ver = SSL_version(ssl);
switch(tls_ver) { switch(tls_ver) {
case TLS1_1_VERSION:
case TLS1_2_VERSION: case TLS1_2_VERSION:
break; break;
default: default:
LOG(INFO) << "TLSv1.2 or TLSv1.1 was not negotiated. " LOG(INFO) << "TLSv1.2 was not negotiated. "
<< "HTTP/2 must not be negotiated."; << "HTTP/2 must not be negotiated.";
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment