]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http: test-http-client - Only load existing CAs
authorAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 28 Mar 2018 06:11:55 +0000 (09:11 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 25 Apr 2018 16:15:31 +0000 (16:15 +0000)
commited6b01ce1544d9b35a8da8832cb6b649b226f58c
tree3341ee02a86b578e6ed58038ea3163a46ecb2004
parent78d6bd63bcbcd65fa6fae9febfb2421a05ef31a2
lib-http: test-http-client - Only load existing CAs

Otherwise the SSL tests do not properly work.

Fixes Error: HTTP Request failed: Couldn't initialize SSL context: Can't load CA certs from directory /etc/ssl/certs: error:02001002:system library:fopen:No such file or directory: fopen('/etc/pki/tls/cert.pem','r'), error:2006D080:BIO routines:BIO_new_file:no such file, error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
src/lib-http/test-http-client.c