summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorjsing <>2021-02-20 08:33:17 +0000
committerjsing <>2021-02-20 08:33:17 +0000
commit141f3ab66d9950038d21604bc59e4b0055b7983b (patch)
treeca13aa88072a5451048585707aa001aac44bb7ff /src/lib/libssl/ssl.h
parent2eec7107fa9d0d8c2604679e484ce02dd1b25d84 (diff)
downloadopenbsd-141f3ab66d9950038d21604bc59e4b0055b7983b.tar.gz
openbsd-141f3ab66d9950038d21604bc59e4b0055b7983b.tar.bz2
openbsd-141f3ab66d9950038d21604bc59e4b0055b7983b.zip
Add DTLSv1.2 methods.
These are currently guarded by LIBRESSL_HAS_DTLS1_2 and LIBRESSL_INTERNAL. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index ec9544acc5..e7ff6cec2a 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.181 2021/02/20 08:11:57 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.182 2021/02/20 08:33:17 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1528,6 +1528,12 @@ const SSL_METHOD *DTLSv1_method(void); /* DTLSv1.0 */
1528const SSL_METHOD *DTLSv1_server_method(void); /* DTLSv1.0 */ 1528const SSL_METHOD *DTLSv1_server_method(void); /* DTLSv1.0 */
1529const SSL_METHOD *DTLSv1_client_method(void); /* DTLSv1.0 */ 1529const SSL_METHOD *DTLSv1_client_method(void); /* DTLSv1.0 */
1530 1530
1531#if defined(LIBRESSL_HAS_DTLS1_2) || defined(LIBRESSL_INTERNAL)
1532const SSL_METHOD *DTLSv1_2_method(void); /* DTLSv1.2 */
1533const SSL_METHOD *DTLSv1_2_server_method(void); /* DTLSv1.2 */
1534const SSL_METHOD *DTLSv1_2_client_method(void); /* DTLSv1.2 */
1535#endif
1536
1531const SSL_METHOD *DTLS_method(void); /* DTLS v1.0 or later */ 1537const SSL_METHOD *DTLS_method(void); /* DTLS v1.0 or later */
1532const SSL_METHOD *DTLS_server_method(void); /* DTLS v1.0 or later */ 1538const SSL_METHOD *DTLS_server_method(void); /* DTLS v1.0 or later */
1533const SSL_METHOD *DTLS_client_method(void); /* DTLS v1.0 or later */ 1539const SSL_METHOD *DTLS_client_method(void); /* DTLS v1.0 or later */