From e14ee9d1fea9229bd561abafa3e92dfda93d7652 Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 4 Apr 2025 14:09:45 +0300 Subject: [PATCH] nfqws: fix wrong and mask --- nfq/nfqws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq/nfqws.c b/nfq/nfqws.c index 9eb5c4c..316874e 100644 --- a/nfq/nfqws.c +++ b/nfq/nfqws.c @@ -1040,7 +1040,7 @@ static bool onetime_tls_mod_blob(int profile_n, int fake_n, uint32_t fake_tls_mo size_t extlen; modcache->extlen_offset = modcache->padlen_offset = 0; - if (fake_tls_mod & (FAKE_TLS_MOD_PADENCAP|FAKE_TLS_MOD_SNI)) + if (fake_tls_mod & (FAKE_TLS_MOD_RND_SNI|FAKE_TLS_MOD_SNI)) { if (!TLSFindExtLen(fake_tls,*fake_tls_size,&modcache->extlen_offset)) {