summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl_internal.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_internal.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_internal.h')
-rw-r--r--src/lib/libressl/ressl_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libressl/ressl_internal.h b/src/lib/libressl/ressl_internal.h
index f37b5718d9..b752b5fd88 100644
--- a/src/lib/libressl/ressl_internal.h
+++ b/src/lib/libressl/ressl_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ressl_internal.h,v 1.11 2014/09/29 15:11:29 jsing Exp $ */ 1/* $OpenBSD: ressl_internal.h,v 1.12 2014/10/03 14:14:40 tedu Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> 3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -37,7 +37,8 @@ struct ressl_config {
37 char *key_mem; 37 char *key_mem;
38 size_t key_len; 38 size_t key_len;
39 uint32_t protocols; 39 uint32_t protocols;
40 int verify; 40 int verify_cert;
41 int verify_host;
41 int verify_depth; 42 int verify_depth;
42}; 43};
43 44