mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
17 lines
723 B
Diff
17 lines
723 B
Diff
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);
|
|
|