diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-01-02 17:35:29 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-01-02 17:35:29 +0000 |
commit | 7954be7fa5ea70de36aacebb8bcca2a70af709f4 (patch) | |
tree | b839bbb75392ad4c301a0393b3ca49fe155c5740 /util/net_help.c | |
parent | 7f563e614fb9a8ce7c8904a3ad346b7e38238339 (diff) |
Diffstat (limited to 'util/net_help.c')
-rw-r--r-- | util/net_help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/net_help.c b/util/net_help.c index 49ce677f4aa06..8c2bac7372fc7 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -699,7 +699,7 @@ void* connect_sslctx_create(char* key, char* pem, char* verifypem) } } if(verifypem && verifypem[0]) { - if(!SSL_CTX_load_verify_locations(ctx, verifypem, NULL) != 1) { + if(!SSL_CTX_load_verify_locations(ctx, verifypem, NULL)) { log_crypto_err("error in SSL_CTX verify"); SSL_CTX_free(ctx); return NULL; |