From f631ff8117debfd6e9d22a8b06e79019b5472af4 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 28 Jun 2022 20:36:55 +0000 Subject: [PATCH] Provide OPENSSL_TLS_SECURITY_LEVEL define ok beck jsing sthen --- lib/libssl/tls1.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/libssl/tls1.h b/lib/libssl/tls1.h index 547fb86e5df..aa05f37cc8c 100644 --- a/lib/libssl/tls1.h +++ b/lib/libssl/tls1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls1.h,v 1.51 2022/02/05 18:18:18 tb Exp $ */ +/* $OpenBSD: tls1.h,v 1.52 2022/06/28 20:36:55 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -159,6 +159,12 @@ extern "C" { #endif +#if defined(LIBRESSL_INTERNAL) +#ifndef OPENSSL_TLS_SECURITY_LEVEL +#define OPENSSL_TLS_SECURITY_LEVEL 1 +#endif +#endif + #define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 0 #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) -- 2.20.1