diff options
| author | jsing <> | 2015-02-22 15:09:54 +0000 |
|---|---|---|
| committer | jsing <> | 2015-02-22 15:09:54 +0000 |
| commit | 9d8e62d07fb25e66d41179adb5bd43bb03ff48be (patch) | |
| tree | 69b0669eadef9fd82894ac6c78503dabca4e3010 /src/lib/libtls/tls.h | |
| parent | 47d9c013d2b64ba954050caea6bdcefaaca3cac5 (diff) | |
| download | openbsd-9d8e62d07fb25e66d41179adb5bd43bb03ff48be.tar.gz openbsd-9d8e62d07fb25e66d41179adb5bd43bb03ff48be.tar.bz2 openbsd-9d8e62d07fb25e66d41179adb5bd43bb03ff48be.zip | |
Rename tls_config_insecure_noverifyhost() to
tls_config_insecure_noverifyname(), so that it is more accurate and keeps
inline with the distinction between DNS hostname and server name.
Requested by tedu@ during s2k15.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libtls/tls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 0af6194879..071309242f 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls.h,v 1.9 2015/02/12 04:35:17 jsing Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.10 2015/02/22 15:09:54 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -61,8 +61,8 @@ void tls_config_set_verify_depth(struct tls_config *config, int verify_depth); | |||
| 61 | void tls_config_clear_keys(struct tls_config *config); | 61 | void tls_config_clear_keys(struct tls_config *config); |
| 62 | int tls_config_parse_protocols(uint32_t *protocols, const char *protostr); | 62 | int tls_config_parse_protocols(uint32_t *protocols, const char *protostr); |
| 63 | 63 | ||
| 64 | void tls_config_insecure_noverifyhost(struct tls_config *config); | ||
| 65 | void tls_config_insecure_noverifycert(struct tls_config *config); | 64 | void tls_config_insecure_noverifycert(struct tls_config *config); |
| 65 | void tls_config_insecure_noverifyname(struct tls_config *config); | ||
| 66 | void tls_config_verify(struct tls_config *config); | 66 | void tls_config_verify(struct tls_config *config); |
| 67 | 67 | ||
| 68 | struct tls *tls_client(void); | 68 | struct tls *tls_client(void); |
