File 0605-crypto-asan-test-engine-suppressions.patch of Package erlang
From 6a8676f6e0d20a7c2e973e60499e84da0019731f Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Wed, 9 Jun 2021 12:41:50 +0200
Subject: [PATCH 2/4] crypto: asan test-engine suppressions
---
erts/emulator/asan/suppress | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/erts/emulator/asan/suppress b/erts/emulator/asan/suppress
index 5625938f37..f4320a9a74 100644
--- a/erts/emulator/asan/suppress
+++ b/erts/emulator/asan/suppress
@@ -6,13 +6,14 @@ leak:erts_thr_progress_register_unmanaged_thread
# Block passed to sigaltstack()
leak:sys_thread_init_signal_stack
-#Copied from valgrind/suppress.standard:
-#Crypto internal... loading gives expected errors when curves are tried.
-#But including <openssl/err.h> and removing them triggers compiler errors on Windows
-#fun:valid_curve
-#fun:init_curves
+# Crypto: loading gives expected errors when curves are tried. But including
+# <openssl/err.h> and removing them triggers compiler errors on Windows
leak:init_curve_types
-#fun:init_algorithms_types
-#fun:initialize
-#fun:load
-#fun:erts_load_nif
+
+# Crypto: OpensSSL error handling (see about err.h above)
+#leak:ERR_put_error
+
+# Crypto: Our test engine leaks. That is actually a design decision since it is only a test tool
+# This disables errors in that:
+leak:ENGINE_ctrl_cmd_string
+leak:ENGINE_get_digest
--
2.31.1