Commit b998695344 for strongswan.org

commit b9986953448dc198c3c466a45e0d4f7d90c17af8
Author: Tobias Brunner <tobias@strongswan.org>
Date:   Fri Aug 15 15:11:48 2025 +0200

    testing: Ignore unknown memory in leak detective

    This is set in two locations for systemd services and login shells. The
    memory is freed by OPENSSL_cleanup().

diff --git a/testing/hosts/default/etc/ssh/sshd_config b/testing/hosts/default/etc/ssh/sshd_config
index bed9e82382..622887f047 100644
--- a/testing/hosts/default/etc/ssh/sshd_config
+++ b/testing/hosts/default/etc/ssh/sshd_config
@@ -13,4 +13,5 @@ PrintLastLog no
 UsePAM no
 AcceptEnv LANG LC_*
 AcceptEnv LEAK_DETECTIVE_LOG
+SetEnv LEAK_DETECTIVE_IGNORE_UNKNOWN=1
 Subsystem	sftp	/usr/lib/openssh/sftp-server
diff --git a/testing/hosts/default/etc/systemd/system.conf.d/99-ignore-unknown-memory.conf b/testing/hosts/default/etc/systemd/system.conf.d/99-ignore-unknown-memory.conf
new file mode 100644
index 0000000000..acf2eee6d9
--- /dev/null
+++ b/testing/hosts/default/etc/systemd/system.conf.d/99-ignore-unknown-memory.conf
@@ -0,0 +1,2 @@
+[Manager]
+DefaultEnvironment=LEAK_DETECTIVE_IGNORE_UNKNOWN=1