]> granicus.if.org Git - libevent/commit
sample/https-client: use host SSL certificate store by default
authorDavid Disseldorp <ddiss@suse.de>
Mon, 20 Feb 2017 13:47:59 +0000 (14:47 +0100)
committerAzat Khuzhin <a3at.mail@gmail.com>
Mon, 27 Feb 2017 21:39:50 +0000 (00:39 +0300)
commite139cbac0a277cc4eff58bff345fbbcaf0858903
tree78ddd9fc321b84c99f70da4b558ebe8c7541ab37
parentffbce578c40a06491ce6585ab2d82ebb69a52d30
sample/https-client: use host SSL certificate store by default

Currently a static (Debian) certificate path is used by default, which
can be overridden using the -crt parameter. This commit changes the
default behaviour such that the openssl default certificate store is
used, unless overridden by -crt.

Signed-off-by: David Disseldorp <ddiss@suse.de>
sample/https-client.c