summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/tls1.h')
-rw-r--r--src/lib/libssl/tls1.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h
index 7ad9a387c9..dd8d778ff6 100644
--- a/src/lib/libssl/tls1.h
+++ b/src/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls1.h,v 1.33 2018/11/05 20:41:30 jsing Exp $ */ 1/* $OpenBSD: tls1.h,v 1.34 2018/11/06 01:37:23 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 *
@@ -151,6 +151,8 @@
151#ifndef HEADER_TLS1_H 151#ifndef HEADER_TLS1_H
152#define HEADER_TLS1_H 152#define HEADER_TLS1_H
153 153
154#include <openssl/opensslconf.h>
155
154#include <openssl/buffer.h> 156#include <openssl/buffer.h>
155 157
156#ifdef __cplusplus 158#ifdef __cplusplus
@@ -159,6 +161,10 @@ extern "C" {
159 161
160#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 0 162#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 0
161 163
164#if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL)
165#define TLS1_3_VERSION 0x0304
166#endif
167
162#define TLS1_2_VERSION 0x0303 168#define TLS1_2_VERSION 0x0303
163#define TLS1_2_VERSION_MAJOR 0x03 169#define TLS1_2_VERSION_MAJOR 0x03
164#define TLS1_2_VERSION_MINOR 0x03 170#define TLS1_2_VERSION_MINOR 0x03