mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
net-libs/usockets: update to 0.8.8
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
16
net-libs/usockets/files/usockets-0.8.8-hammer-test.patch
Normal file
16
net-libs/usockets/files/usockets-0.8.8-hammer-test.patch
Normal file
@@ -0,0 +1,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);
|
||||
|
||||
Reference in New Issue
Block a user