diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-11-08 14:34:02 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-08 14:34:02 -0600 |
commit | 80f72983f0577eb69a88500a65fd9a6dd9ae2c2b (patch) | |
tree | a3ea34d73dd430300cf91d83d8f20cad7c912763 | |
parent | 50b0e3bf7da66414a3ef06272509a7b69267213f (diff) | |
download | busybox-w32-packaging-80f72983f0577eb69a88500a65fd9a6dd9ae2c2b.tar.gz busybox-w32-packaging-80f72983f0577eb69a88500a65fd9a6dd9ae2c2b.tar.bz2 busybox-w32-packaging-80f72983f0577eb69a88500a65fd9a6dd9ae2c2b.zip |
Assign numbers to out of memory so we can see where we fail
-rw-r--r-- | config | 2 | ||||
-rw-r--r-- | libressl.patch | 26 |
2 files changed, 27 insertions, 1 deletions
@@ -1026,7 +1026,7 @@ CONFIG_FEATURE_WGET_STATUSBAR=y | |||
1026 | CONFIG_FEATURE_WGET_FTP=y | 1026 | CONFIG_FEATURE_WGET_FTP=y |
1027 | CONFIG_FEATURE_WGET_AUTHENTICATION=y | 1027 | CONFIG_FEATURE_WGET_AUTHENTICATION=y |
1028 | # CONFIG_FEATURE_WGET_TIMEOUT is not set | 1028 | # CONFIG_FEATURE_WGET_TIMEOUT is not set |
1029 | # CONFIG_FEATURE_WGET_HTTPS is not set | 1029 | CONFIG_FEATURE_WGET_HTTPS=y |
1030 | CONFIG_FEATURE_WGET_OPENSSL=y | 1030 | CONFIG_FEATURE_WGET_OPENSSL=y |
1031 | # CONFIG_WHOIS is not set | 1031 | # CONFIG_WHOIS is not set |
1032 | # CONFIG_ZCIP is not set | 1032 | # CONFIG_ZCIP is not set |
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); |
35 | diff --git a/networking/ssl_helper-wolfssl/ssl_helper.c b/networking/ssl_helper-wolfssl/ssl_helper.c | ||
36 | index 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"); | ||
35 | diff --git a/networking/tls.c b/networking/tls.c | 61 | diff --git a/networking/tls.c b/networking/tls.c |
36 | index 9f1dd67ec..7e8da6df2 100644 | 62 | index 9f1dd67ec..7e8da6df2 100644 |
37 | --- a/networking/tls.c | 63 | --- a/networking/tls.c |