summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl.h
diff options
context:
space:
mode:
authortedu <>2014-10-03 14:14:40 +0000
committertedu <>2014-10-03 14:14:40 +0000
commit1288780ed7160b1b444d751fc2b98a25e6956351 (patch)
treef3a4f9d49ea98f54a4255f5a2ad77c098f92226f /src/lib/libressl/ressl.h
parentfc839d9230234d61b47127e0e8f7aa65b0b4fbf1 (diff)
downloadopenbsd-1288780ed7160b1b444d751fc2b98a25e6956351.tar.gz
openbsd-1288780ed7160b1b444d751fc2b98a25e6956351.tar.bz2
openbsd-1288780ed7160b1b444d751fc2b98a25e6956351.zip
allow disabling hostname and cert verification separately.
if you're careful, cert only verification can be useful. always enable both though, to avoid accidentally leaving one off. ok jsing
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r--src/lib/libressl/ressl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h
index 5d980f1f75..2cad4b4d43 100644
--- a/src/lib/libressl/ressl.h
+++ b/src/lib/libressl/ressl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ressl.h,v 1.17 2014/09/29 15:11:29 jsing Exp $ */ 1/* $OpenBSD: ressl.h,v 1.18 2014/10/03 14:14:40 tedu Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -58,7 +58,8 @@ void ressl_config_set_verify_depth(struct ressl_config *config,
58 int verify_depth); 58 int verify_depth);
59 59
60void ressl_config_clear_keys(struct ressl_config *config); 60void ressl_config_clear_keys(struct ressl_config *config);
61void ressl_config_insecure_no_verify(struct ressl_config *config); 61void ressl_config_insecure_noverifyhost(struct ressl_config *config);
62void ressl_config_insecure_noverifycert(struct ressl_config *config);
62void ressl_config_verify(struct ressl_config *config); 63void ressl_config_verify(struct ressl_config *config);
63 64
64struct ressl *ressl_client(void); 65struct ressl *ressl_client(void);