Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
2581-crypto-Fixes-for-LibreSSL-3.5.0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2581-crypto-Fixes-for-LibreSSL-3.5.0.patch of Package erlang
From 8e5170d79e387d7e898d948a78e0c70407a4030c Mon Sep 17 00:00:00 2001 From: Hans Nilsson <hans@erlang.org> Date: Mon, 14 Feb 2022 15:51:35 +0100 Subject: [PATCH] crypto: Fixes for LibreSSL 3.5.0 --- lib/crypto/c_src/openssl_config.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h index 6fdd049fb3..39e4b2d9d7 100644 --- a/lib/crypto/c_src/openssl_config.h +++ b/lib/crypto/c_src/openssl_config.h @@ -122,7 +122,14 @@ # endif #endif -#if defined(HAS_EVP_PKEY_CTX) \ +#ifdef HAS_LIBRESSL +# if LIBRESSL_VERSION_NUMBER >= 0x3050000fL +# define HAS_EVP_PKEY_CTX +# define HAVE_EVP_CIPHER_CTX_COPY +# endif +#endif + +#if defined(HAS_EVP_PKEY_CTX) \ && OPENSSL_VERSION_NUMBER < PACKED_OPENSSL_VERSION_PLAIN(1,1,0) /* EVP is slow on antique crypto libs. * DISABLE_EVP_* is 0 or 1 from the configure script -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor