diff options
author | tb <> | 2022-06-28 20:36:55 +0000 |
---|---|---|
committer | tb <> | 2022-06-28 20:36:55 +0000 |
commit | f2a38cb44ea1980d59d2cd0db6321cfa58226032 (patch) | |
tree | 2b78739e6e72151c973544b2d004757e2d4aa7ae /src | |
parent | 95418afc18c72471a8c43504a87b866aba63048f (diff) | |
download | openbsd-f2a38cb44ea1980d59d2cd0db6321cfa58226032.tar.gz openbsd-f2a38cb44ea1980d59d2cd0db6321cfa58226032.tar.bz2 openbsd-f2a38cb44ea1980d59d2cd0db6321cfa58226032.zip |
Provide OPENSSL_TLS_SECURITY_LEVEL define
ok beck jsing sthen
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/tls1.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h index 547fb86e5d..aa05f37cc8 100644 --- a/src/lib/libssl/tls1.h +++ b/src/lib/libssl/tls1.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls1.h,v 1.51 2022/02/05 18:18:18 tb Exp $ */ | 1 | /* $OpenBSD: tls1.h,v 1.52 2022/06/28 20:36:55 tb 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 | * |
@@ -159,6 +159,12 @@ | |||
159 | extern "C" { | 159 | extern "C" { |
160 | #endif | 160 | #endif |
161 | 161 | ||
162 | #if defined(LIBRESSL_INTERNAL) | ||
163 | #ifndef OPENSSL_TLS_SECURITY_LEVEL | ||
164 | #define OPENSSL_TLS_SECURITY_LEVEL 1 | ||
165 | #endif | ||
166 | #endif | ||
167 | |||
162 | #define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 0 | 168 | #define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 0 |
163 | 169 | ||
164 | #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) | 170 | #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) |