summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-03-17 17:28:08 +0000
committerjsing <jsing@openbsd.org>2019-03-17 17:28:08 +0000
commit71023d34a807e30782fc2437cecdd0794d70d29f (patch)
treeb1b4409b330256d5c947152d3789dffb8adff4bb /lib/libssl/ssl.h
parentGrow sgi ISO/FS media space to cope with the clang growth. (diff)
downloadwireguard-openbsd-71023d34a807e30782fc2437cecdd0794d70d29f.tar.xz
wireguard-openbsd-71023d34a807e30782fc2437cecdd0794d70d29f.zip
Provide version agnostic DTLS methods.
ok tb@
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index e6ac7689dae..58b1be6d0d6 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.164 2019/01/22 01:15:37 tb Exp $ */
+/* $OpenBSD: ssl.h,v 1.165 2019/03/17 17:28:08 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1436,6 +1436,10 @@ const SSL_METHOD *DTLSv1_method(void); /* DTLSv1.0 */
const SSL_METHOD *DTLSv1_server_method(void); /* DTLSv1.0 */
const SSL_METHOD *DTLSv1_client_method(void); /* DTLSv1.0 */
+const SSL_METHOD *DTLS_method(void); /* DTLS v1.0 or later */
+const SSL_METHOD *DTLS_server_method(void); /* DTLS v1.0 or later */
+const SSL_METHOD *DTLS_client_method(void); /* DTLS v1.0 or later */
+
STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s);
STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s);
STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s);