summaryrefslogtreecommitdiff
path: root/src/node_crypto_clienthello.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_crypto_clienthello.cc')
-rw-r--r--src/node_crypto_clienthello.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/node_crypto_clienthello.cc b/src/node_crypto_clienthello.cc
index cbe1be3273..b037575577 100644
--- a/src/node_crypto_clienthello.cc
+++ b/src/node_crypto_clienthello.cc
@@ -112,7 +112,6 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
hello.session_id_ = session_id_;
hello.session_size_ = session_size_;
hello.has_ticket_ = tls_ticket_ != nullptr && tls_ticket_size_ != 0;
- hello.ocsp_request_ = ocsp_request_;
hello.servername_ = servername_;
hello.servername_size_ = static_cast<uint8_t>(servername_size_);
onhello_cb_(cb_arg_, hello);
@@ -149,18 +148,6 @@ void ClientHelloParser::ParseExtension(const uint16_t type,
}
}
break;
- case kStatusRequest:
- // We are ignoring any data, just indicating the presence of extension
- if (len < kMinStatusRequestSize)
- return;
-
- // Unknown type, ignore it
- if (data[0] != kStatusRequestOCSP)
- break;
-
- // Ignore extensions, they won't work with caching on backend anyway
- ocsp_request_ = 1;
- break;
case kTLSSessionTicket:
tls_ticket_size_ = len;
tls_ticket_ = data + len;