diff --git a/nfq/protocol.c b/nfq/protocol.c index 1c1142f..1817aa0 100644 --- a/nfq/protocol.c +++ b/nfq/protocol.c @@ -2,6 +2,8 @@ #include "protocol.h" #include "helpers.h" +#include "params.h" + #include #include #include @@ -507,7 +509,7 @@ size_t TLSPos(uint8_t posmarker, int16_t pos, const uint8_t *data, size_t sz) case PM_HOST_MIDSLD: case PM_HOST_ENDSLD: case PM_SNI_EXT: - if (TLSFindExt(data,sz,0,&ext,&elen,false)) + if (TLSFindExt(data,sz,0,&ext,&elen,TLS_PARTIALS_ENABLE)) { if (posmarker==PM_SNI_EXT) {