summaryrefslogtreecommitdiff
path: root/libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libressl.patch')
-rw-r--r--libressl.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libressl.patch b/libressl.patch
index 9c3b752..3185e93 100644
--- a/libressl.patch
+++ b/libressl.patch
@@ -32,6 +32,32 @@ index 757745896..653b6f48e 100644
32 32
33 BUILD_BUG_ON(TLSLOOP_EXIT_ON_LOCAL_EOF != 1); 33 BUILD_BUG_ON(TLSLOOP_EXIT_ON_LOCAL_EOF != 1);
34 tls_run_copy_loop(tls, /*flags*/ opt & 1); 34 tls_run_copy_loop(tls, /*flags*/ opt & 1);
35diff --git a/networking/ssl_helper-wolfssl/ssl_helper.c b/networking/ssl_helper-wolfssl/ssl_helper.c
36index 38b7b56c6..834912a68 100644
37--- a/networking/ssl_helper-wolfssl/ssl_helper.c
38+++ b/networking/ssl_helper-wolfssl/ssl_helper.c
39@@ -160,10 +160,10 @@ WOLFSSL *prepare(int sockfd)
40
41 method = wolfTLSv1_1_client_method();
42 if (method == NULL)
43- err_sys("out of memory");
44+ err_sys("out of memory 3");
45 ctx = wolfSSL_CTX_new(method);
46 if (ctx == NULL)
47- err_sys("out of memory");
48+ err_sys("out of memory 2");
49 // if (cipherList)
50 // if (wolfSSL_CTX_set_cipher_list(ctx, cipherList) != SSL_SUCCESS)
51 // err_sys("client can't set cipher list 1");
52@@ -279,7 +279,7 @@ WOLFSSL *prepare(int sockfd)
53
54 ssl = wolfSSL_new(ctx);
55 if (ssl == NULL)
56- err_sys("out of memory");
57+ err_sys("out of memory 1");
58
59 //#ifdef HAVE_SESSION_TICKET
60 // wolfSSL_set_SessionTicket_cb(ssl, sessionTicketCB, (void*)"initial session");
35diff --git a/networking/tls.c b/networking/tls.c 61diff --git a/networking/tls.c b/networking/tls.c
36index 9f1dd67ec..7e8da6df2 100644 62index 9f1dd67ec..7e8da6df2 100644
37--- a/networking/tls.c 63--- a/networking/tls.c