0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-04 17:43:09 +00:00
Files
packages/net/httping/patches/002-fix-openssl-bundle.patch
krant 06fa612c85 httping: update to 3.5
- Update package URLs
- Use local tarball for sources
- Switch to CMake
- Drop obsolete patches including 'minimize' (ipk size +3KB only)
- Add 3 new patches to fix musl, openssl and cmake issues

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-26 14:07:53 -08:00

12 lines
322 B
Diff

--- a/mssl.c
+++ b/mssl.c
@@ -309,7 +309,7 @@ SSL_CTX * initialize_ctx(const char ask_
ca_path = "/etc/ssl/certs";
#endif
- SSL_CTX_load_verify_locations(ctx, NULL, ca_path);
+ SSL_CTX_load_verify_locations(ctx, "/etc/ssl/certs/ca-certificates.crt", ca_path);
#ifdef SSL_OP_NO_COMPRESSION
if (!ask_compression)