git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
02d5861
Branches
Tags
master
keks-overlay.git
dev-libs
openssl
files
openssl-1.0.2-s_client-verify.patch
add openssl 1.0.2 patches
Hanno Böck
commited
02d5861
at 2015-02-21 12:00:56
openssl-1.0.2-s_client-verify.patch
Blame
History
Raw
https://bugs.gentoo.org/472584 http://rt.openssl.org/Ticket/Display.html?id=2387&user=guest&pass=guest fix verification handling in s_client. when loading paths, make sure we properly fallback to setting the default paths. --- openssl-1.0.2/apps/s_client.c +++ openssl-1.0.2/apps/s_client.c @@ -1337,7 +1337,7 @@ SSL_CTX_set_verify(ctx, verify, verify_callback); - if ((!SSL_CTX_load_verify_locations(ctx, CAfile, CApath)) || + if ((!SSL_CTX_load_verify_locations(ctx, CAfile, CApath)) && (!SSL_CTX_set_default_verify_paths(ctx))) { /* * BIO_printf(bio_err,"error setting default verify locations\n");