gnutls/SOURCES/gnutls-3.7.2-no-explicit-init.patch

34 lines
820 B
Diff
Raw Permalink Normal View History

2024-04-30 14:09:30 +00:00
From c7f4ce40eaecafdefbf4db0ac2d3665bc0c41b33 Mon Sep 17 00:00:00 2001
2022-05-17 10:25:34 +00:00
From: rpm-build <rpm-build>
2024-04-30 14:09:30 +00:00
Date: Tue, 21 Nov 2023 14:13:38 +0900
Subject: [PATCH] gnutls-3.7.2-no-explicit-init.patch
2022-05-17 10:25:34 +00:00
Signed-off-by: rpm-build <rpm-build>
---
2024-04-30 14:09:30 +00:00
lib/global.c | 9 ---------
1 file changed, 9 deletions(-)
2022-05-17 10:25:34 +00:00
diff --git a/lib/global.c b/lib/global.c
2024-04-30 14:09:30 +00:00
index 924ec94..3baa202 100644
2022-05-17 10:25:34 +00:00
--- a/lib/global.c
+++ b/lib/global.c
2024-04-30 14:09:30 +00:00
@@ -510,15 +510,6 @@ static void _CONSTRUCTOR lib_init(void)
2022-05-17 10:25:34 +00:00
return;
}
- e = secure_getenv("GNUTLS_NO_EXPLICIT_INIT");
- if (e != NULL) {
2024-04-30 14:09:30 +00:00
- _gnutls_debug_log(
- "GNUTLS_NO_EXPLICIT_INIT is deprecated; use GNUTLS_NO_IMPLICIT_INIT\n");
2022-05-17 10:25:34 +00:00
- ret = atoi(e);
- if (ret == 1)
- return;
- }
-
ret = _gnutls_global_init(1);
if (ret < 0) {
2024-04-30 14:09:30 +00:00
fprintf(stderr, "Error in GnuTLS initialization: %s\n",
2022-05-17 10:25:34 +00:00
--
2024-04-30 14:09:30 +00:00
2.41.0
2022-05-17 10:25:34 +00:00