summaryrefslogtreecommitdiff
path: root/net-libs/usockets/files/usockets-0.8.8-hammer-test.patch
blob: a23a8e826997ef61342709dd709e62492c8222a9 (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 010e232..0837b8d 100644
--- a/examples/hammer_test.c
+++ b/examples/hammer_test.c
@@ -406,9 +406,8 @@ int main() {
     // these are ignored for non-SSL
     struct us_socket_context_options_t options;
     memset(&options, 0, sizeof(struct us_socket_context_options_t));
-    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);