Skip to content

Commit

Permalink
Fix curves
Browse files Browse the repository at this point in the history
  • Loading branch information
perklet committed Jan 15, 2025
1 parent 183711d commit 53c99d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions chrome/patches/curl-impersonate.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1536,10 +1536,10 @@ index 80e183480..8ee390b7e 100644
* Store nghttp2 version info in this buffer.
diff --git a/lib/impersonate.c b/lib/impersonate.c
new file mode 100644
index 000000000..6ff5efcd7
index 000000000..57890b12a
--- /dev/null
+++ b/lib/impersonate.c
@@ -0,0 +1,1233 @@
@@ -0,0 +1,1234 @@
+#include "curl_setup.h"
+
+#include <curl/curl.h>
Expand Down Expand Up @@ -2756,6 +2756,7 @@ index 000000000..6ff5efcd7
+ "Priority: u=0, i",
+ "Te: trailers"
+ },
+ .curves = "X25519MLKEM768:X25519:P-256:P-384:P-521:ffdhe2048:ffdhe3072",
+ .alpn = true,
+ .http2_settings = "1:65536;2:0;4:131072;5:16384",
+ .http2_window_update = 12517377,
Expand Down
2 changes: 1 addition & 1 deletion tests/signatures/firefox_133.0.3_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ signature:
type: extended_master_secret
- length: 1
type: renegotiation_info
- length: 14
- length: 16
supported_groups:
- 4588
- 29
Expand Down

0 comments on commit 53c99d4

Please sign in to comment.