summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls_internal.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-10 09:10:42 +0000
committerjsing <jsing@openbsd.org>2015-09-10 09:10:42 +0000
commitc57e6ec0108e579994316676032ed1a6400964c1 (patch)
tree95cbf58f60e751f00493ea409122836c7af0477c /lib/libtls/tls_internal.h
parentMore complicated if_put dance. Special handling for multicast_register_if (diff)
downloadwireguard-openbsd-c57e6ec0108e579994316676032ed1a6400964c1.tar.xz
wireguard-openbsd-c57e6ec0108e579994316676032ed1a6400964c1.zip
Add support for preferring the server's cipher list or the client's cipher
list. Prefer the server's cipher list by default. Based on a diff from Kyle Thompson <jmp at giga dot moe>. ok beck@ bcook@
Diffstat (limited to 'lib/libtls/tls_internal.h')
-rw-r--r--lib/libtls/tls_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libtls/tls_internal.h b/lib/libtls/tls_internal.h
index 58834c999f0..78ae542cb6d 100644
--- a/lib/libtls/tls_internal.h
+++ b/lib/libtls/tls_internal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_internal.h,v 1.16 2015/09/09 19:23:04 beck Exp $ */
+/* $OpenBSD: tls_internal.h,v 1.17 2015/09/10 09:10:42 jsing Exp $ */
/*
* Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -35,6 +35,7 @@ struct tls_config {
char *cert_mem;
size_t cert_len;
const char *ciphers;
+ int ciphers_server;
int dheparams;
int ecdhecurve;
const char *key_file;