Skip to content

Commit 22be300

Browse files
committed
ffdhe
1 parent 17597b7 commit 22be300

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/ngx_ssl_ja3.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,22 @@ ngx_ssl_ja3_nid_to_cid(int nid)
106106
}
107107
}
108108

109+
if (nid == NID_ffdhe2048) {
110+
return 0x100;
111+
}
112+
if (nid == NID_ffdhe3072) {
113+
return 0x101;
114+
}
115+
if (nid == NID_ffdhe4096) {
116+
return 0x102;
117+
}
118+
if (nid == NID_ffdhe6144) {
119+
return 0x103;
120+
}
121+
if (nid == NID_ffdhe8192) {
122+
return 0x104;
123+
}
124+
109125
return nid;
110126
}
111127

0 commit comments

Comments
 (0)