nghttpx: Require TLSv.12 for h2

This commit is contained in:
Tatsuhiro Tsujikawa 2014-06-18 12:09:30 +09:00
parent 8e0fcd3922
commit 87360b4f7d
1 changed files with 1 additions and 2 deletions

View File

@ -940,11 +940,10 @@ bool check_http2_requirement(SSL *ssl)
auto tls_ver = SSL_version(ssl);
switch(tls_ver) {
case TLS1_1_VERSION:
case TLS1_2_VERSION:
break;
default:
LOG(INFO) << "TLSv1.2 or TLSv1.1 was not negotiated. "
LOG(INFO) << "TLSv1.2 was not negotiated. "
<< "HTTP/2 must not be negotiated.";
return false;
}