Files
guru/net-libs/usockets/files/usockets-0.8.8-hammer-test.patch
Aisha Tammy 7c5af05fef net-libs/usockets: update to 0.8.8
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
2024-04-30 19:54:38 -04:00

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);