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
commitc4534eb6d78a5c5d49990b6f7a9e52af771e8471 (patch)
treef3a4f9d49ea98f54a4255f5a2ad77c098f92226f /src/lib/libressl/ressl_internal.h
parent9f8a5da13b6653b86f949e67554dafa4591353c0 (diff)
downloadopenbsd-c4534eb6d78a5c5d49990b6f7a9e52af771e8471.tar.gz
openbsd-c4534eb6d78a5c5d49990b6f7a9e52af771e8471.tar.bz2
openbsd-c4534eb6d78a5c5d49990b6f7a9e52af771e8471.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