summaryrefslogtreecommitdiff
path: root/net-libs/usockets/files/usockets-0.8.1_p20211023-hammer-test.patch
blob: a69204ea3400ad07c461f15043e6e2bf195f20cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/examples/hammer_test.c b/examples/hammer_test.c
index 82cda2f..f5bbe5e 100644
--- a/examples/hammer_test.c
+++ b/examples/hammer_test.c
@@ -403,9 +403,8 @@ int main() {
 
     // these are ignored for non-SSL
     struct us_socket_context_options_t options = {};
-    options.key_file_name = "/home/alexhultman/uWebSockets.js/misc/key.pem";
-    options.cert_file_name = "/home/alexhultman/uWebSockets.js/misc/cert.pem";
-    options.passphrase = "1234";
+    options.key_file_name = "localhost.pem";
+    options.cert_file_name = "localhost.crt";
 
     http_context = us_create_socket_context(SSL, loop, sizeof(struct http_context), options);