diff options
| author | tedu <> | 2014-10-03 14:14:40 +0000 |
|---|---|---|
| committer | tedu <> | 2014-10-03 14:14:40 +0000 |
| commit | 1288780ed7160b1b444d751fc2b98a25e6956351 (patch) | |
| tree | f3a4f9d49ea98f54a4255f5a2ad77c098f92226f /src/lib/libressl/ressl.h | |
| parent | fc839d9230234d61b47127e0e8f7aa65b0b4fbf1 (diff) | |
| download | openbsd-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.h | 5 |
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 | ||
| 60 | void ressl_config_clear_keys(struct ressl_config *config); | 60 | void ressl_config_clear_keys(struct ressl_config *config); |
| 61 | void ressl_config_insecure_no_verify(struct ressl_config *config); | 61 | void ressl_config_insecure_noverifyhost(struct ressl_config *config); |
| 62 | void ressl_config_insecure_noverifycert(struct ressl_config *config); | ||
| 62 | void ressl_config_verify(struct ressl_config *config); | 63 | void ressl_config_verify(struct ressl_config *config); |
| 63 | 64 | ||
| 64 | struct ressl *ressl_client(void); | 65 | struct ressl *ressl_client(void); |
