nodejs22/0003-deps-ncrypto-include-openssl-rand.h.patch

26 lines
676 B
Diff
Raw Normal View History

From e79552fdbebb411b8a6f7bc323525f463c1ee7ad Mon Sep 17 00:00:00 2001
2024-08-19 11:44:33 +00:00
From: rpm-build <rpm-build>
Date: Wed, 30 Oct 2024 15:48:59 +0100
Subject: [PATCH] deps(ncrypto): include <openssl/rand.h>
2024-08-19 11:44:33 +00:00
Signed-off-by: rpm-build <rpm-build>
---
deps/ncrypto/ncrypto.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/deps/ncrypto/ncrypto.cc b/deps/ncrypto/ncrypto.cc
index 457bd2f..a38b4a2 100644
2024-08-19 11:44:33 +00:00
--- a/deps/ncrypto/ncrypto.cc
+++ b/deps/ncrypto/ncrypto.cc
2024-09-13 12:20:35 +00:00
@@ -5,6 +5,7 @@
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
2024-09-13 12:20:35 +00:00
+#include <openssl/rand.h>
#include <openssl/pkcs12.h>
2024-09-13 12:20:35 +00:00
#include <openssl/x509v3.h>
2024-08-19 11:44:33 +00:00
#if OPENSSL_VERSION_MAJOR >= 3
--
2.47.0
2024-08-19 11:44:33 +00:00