@@ -103,7 +103,7 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
|
103 | 103 | } |
104 | 104 | |
105 | 105 | |
106 | | -void ClientHelloParser::ParseExtension(ClientHelloParser::ExtensionType type, |
| 106 | +void ClientHelloParser::ParseExtension(const uint16_t type, |
107 | 107 | const uint8_t* data, |
108 | 108 | size_t len) { |
109 | 109 | // NOTE: In case of anything we're just returning back, ignoring the problem. |
@@ -210,7 +210,7 @@ bool ClientHelloParser::ParseTLSClientHello(const uint8_t* data, size_t avail) {
|
210 | 210 | if (ext_off + ext_len > avail) |
211 | 211 | return false; |
212 | 212 | |
213 | | -ParseExtension(static_cast<ExtensionType>(ext_type), |
| 213 | +ParseExtension(ext_type, |
214 | 214 | data + ext_off, |
215 | 215 | ext_len); |
216 | 216 | |
|