summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-23 14:35:42 +0000
committerjsing <jsing@openbsd.org>2017-01-23 14:35:42 +0000
commit1e495d311dcece48dc7c3a6d6536af975291ed3e (patch)
tree21b56fc21cb51557c351fc9ad87078b1a48ecf86 /lib/libssl/ssl.h
parentEnable bcmdog on RAMDISK as well so it can reboot. (diff)
downloadwireguard-openbsd-1e495d311dcece48dc7c3a6d6536af975291ed3e.tar.xz
wireguard-openbsd-1e495d311dcece48dc7c3a6d6536af975291ed3e.zip
Move options and mode from SSL_CTX and SSL to internal, since these can be
set and cleared via existing functions.
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 037f46c400b..28b7de66675 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.118 2017/01/23 13:36:13 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.119 2017/01/23 14:35:42 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -672,9 +672,6 @@ struct ssl_ctx_st {
/* Default values to use in SSL structures follow (these are copied by SSL_new) */
- unsigned long options;
- unsigned long mode;
-
STACK_OF(X509) *extra_certs;
int verify_mode;
@@ -852,10 +849,10 @@ struct ssl_st {
long verify_result;
int references;
- unsigned long options; /* protocol behaviour */
- unsigned long mode; /* API behaviour */
+
int client_version; /* what was passed, used for
* SSLv3/TLS rollback check */
+
unsigned int max_send_fragment;
char *tlsext_hostname;