summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_internal.h
diff options
context:
space:
mode:
authorjsing <>2016-08-22 14:55:59 +0000
committerjsing <>2016-08-22 14:55:59 +0000
commit9471125540d25a0117670bd41ea6c3a0ff7844eb (patch)
treeb381f554fd76ea61d743e75d83ea05d769d71108 /src/lib/libtls/tls_internal.h
parent74ebdd842595c2d6c66a0aa102dc5c4b98412c8d (diff)
downloadopenbsd-9471125540d25a0117670bd41ea6c3a0ff7844eb.tar.gz
openbsd-9471125540d25a0117670bd41ea6c3a0ff7844eb.tar.bz2
openbsd-9471125540d25a0117670bd41ea6c3a0ff7844eb.zip
Provide an API that enables server side SNI support - add the ability to
provide additional keypairs (via tls_config_add_keypair_{file,mem}()) and allow the server to determine what servername the client requested (via tls_conn_servername()). ok beck@
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r--src/lib/libtls/tls_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index 428e29c857..3fcc7a021f 100644
--- a/src/lib/libtls/tls_internal.h
+++ b/src/lib/libtls/tls_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_internal.h,v 1.40 2016/08/22 14:51:37 jsing Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.41 2016/08/22 14:55:59 jsing 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>
@@ -74,6 +74,7 @@ struct tls_config {
74struct tls_conninfo { 74struct tls_conninfo {
75 char *alpn; 75 char *alpn;
76 char *cipher; 76 char *cipher;
77 char *servername;
77 char *version; 78 char *version;
78 79
79 char *hash; 80 char *hash;