summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2021-03-17 17:42:53 +0000
committerjsing <>2021-03-17 17:42:53 +0000
commite1510f56b263571ac1c6747b5892069e0083afb9 (patch)
tree8acdaf98d0f2502dbfe0a64716b39d87c22de1d8 /src
parent44f3020544864dcb57e48d351f1509d47b48aee1 (diff)
downloadopenbsd-e1510f56b263571ac1c6747b5892069e0083afb9.tar.gz
openbsd-e1510f56b263571ac1c6747b5892069e0083afb9.tar.bz2
openbsd-e1510f56b263571ac1c6747b5892069e0083afb9.zip
Enable DTLSv1.2.
This means that the DTLS_method() will now use DTLSv1.2 rather than DTLSv1. Additional DTLSv1.2 related symbols and defines will be made publicly visible in the near future. ok inoguchi@ tb@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/ssl_locl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index fed14b4b19..99b72cc65e 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.326 2021/03/11 17:14:47 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.327 2021/03/17 17:42:53 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 *
@@ -169,6 +169,10 @@ __BEGIN_HIDDEN_DECLS
169#define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ 169#define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \
170 __attribute__((__unused__)) 170 __attribute__((__unused__))
171 171
172#ifndef LIBRESSL_HAS_DTLS1_2
173#define LIBRESSL_HAS_DTLS1_2
174#endif
175
172#ifndef LIBRESSL_HAS_TLS1_3_CLIENT 176#ifndef LIBRESSL_HAS_TLS1_3_CLIENT
173#define LIBRESSL_HAS_TLS1_3_CLIENT 177#define LIBRESSL_HAS_TLS1_3_CLIENT
174#endif 178#endif