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().
This commit is contained in:
Tobias Brunner
2025-09-18 11:13:32 +02:00
parent 0e768233f2
commit b998695344
2 changed files with 3 additions and 0 deletions
@@ -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
@@ -0,0 +1,2 @@
[Manager]
DefaultEnvironment=LEAK_DETECTIVE_IGNORE_UNKNOWN=1