diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-12-07 23:46:21 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-12-07 23:46:21 +0000 |
commit | a4ff6cde5d20398069c65b45e0b8c74ba1e92e16 (patch) | |
tree | 4de44b0501ea28f0bc05843267821a038800a593 | |
parent | 435c798e53da5814343fdda8aeb471a4863a6f87 (diff) | |
download | fetchmail-a4ff6cde5d20398069c65b45e0b8c74ba1e92e16.tar.gz fetchmail-a4ff6cde5d20398069c65b45e0b8c74ba1e92e16.tar.bz2 fetchmail-a4ff6cde5d20398069c65b45e0b8c74ba1e92e16.zip |
Actually set default SSL certificate path if --sslcertpath is unset.
Reported by Heino Tiedemann and Rob MacGregor.
svn path=/branches/BRANCH_6-3/; revision=4516
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | socket.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,8 @@ fetchmail 6.3.1 (not yet released): * Fix broken default port in POP2. Patch by Stanislav Brabec, SUSE [CZ]. (MA) * Fix manual page, some lines starting with ' were escaped by \&. (MA) * Ship with gettext-0.14.3 again, as 6.2.9-rc10 did. Found by Sunil Shetye. (MA) +* Actually set default SSL certificate path if --sslcertpath is unset. + Reported by Heino Tiedemann and Rob MacGregor. (MA) fetchmail 6.3.0 (released 2005-11-30): @@ -841,6 +841,8 @@ int SSLOpen(int sock, char *mycert, char *mykey, char *myproto, int certck, char } if (certpath) SSL_CTX_load_verify_locations(_ctx, NULL, certpath); + else + SSL_CTX_set_default_verify_paths(_ctx); _ssl_context[sock] = SSL_new(_ctx); |