Package not found: openSUSE:Slowroll:Build:2/python-jsonpath-rw

File 0841-Enable-CHACHA20_POLY1305-and-CHACHA20-for-LibreSSL.patch of Package erlang

From 8e7c9780f384be538362b4b5b9f8be289deaa2e6 Mon Sep 17 00:00:00 2001
From: VlkrS <47375452+VlkrS@users.noreply.github.com>
Date: Thu, 4 May 2023 21:08:43 +0200
Subject: [PATCH 1/5] Enable CHACHA20_POLY1305 and CHACHA20 for LibreSSL

Portability issues have been addressed:

https://cvsweb.openbsd.org/src/lib/libcrypto/chacha/chacha-merged.c?rev=1.10&content-type=text/x-cvsweb-markup

https://cvsweb.openbsd.org/src/lib/libcrypto/chacha/chacha.c?rev=1.9&content-type=text/x-cvsweb-markup
---
 lib/crypto/c_src/openssl_config.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h
index b73141a530..15c679ec7c 100644
--- a/lib/crypto/c_src/openssl_config.h
+++ b/lib/crypto/c_src/openssl_config.h
@@ -322,6 +322,13 @@
 # endif
 #endif
 
+#ifdef HAS_LIBRESSL
+# if LIBRESSL_VERSION_NUMBER >= 0x3070000fL
+#   define HAVE_CHACHA20_POLY1305
+#   define HAVE_CHACHA20
+# endif
+#endif
+
 #if OPENSSL_VERSION_NUMBER <= PACKED_OPENSSL_VERSION(0,9,8,'l')
 # define HAVE_ECB_IVEC_BUG
 # define HAVE_UPDATE_EMPTY_DATA_BUG
-- 
2.35.3

openSUSE Build Service is sponsored by