app-layer-ssl: fix JA3 bug in TLS extension decoding

pull/3520/head
Mats Klepsland 6 years ago committed by Victor Julien
parent 89bd274f44
commit fc53b2ecd5

@ -1197,6 +1197,7 @@ static inline int TLSDecodeHSHelloExtensions(SSLState *ssl_state,
}
}
next:
if ((ssl_state->current_flags & SSL_AL_FLAG_STATE_CLIENT_HELLO) &&
ssl_config.enable_ja3) {
if (TLSDecodeValueIsGREASE(ext_type) != 1) {
@ -1206,7 +1207,6 @@ static inline int TLSDecodeHSHelloExtensions(SSLState *ssl_state,
}
}
next:
processed_len += ext_len + 4;
}

Loading…
Cancel
Save