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
commit903861707d4a4e30346bdcb0e2cbbcb417718cae (patch)
tree8acdaf98d0f2502dbfe0a64716b39d87c22de1d8 /src
parent0d1638135c1d5a8ea0f4eb121a71ca130d2aa1b5 (diff)
downloadopenbsd-903861707d4a4e30346bdcb0e2cbbcb417718cae.tar.gz
openbsd-903861707d4a4e30346bdcb0e2cbbcb417718cae.tar.bz2
openbsd-903861707d4a4e30346bdcb0e2cbbcb417718cae.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