Co-authored-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Thu Jan 29 16:37:40 2026
(Merged from https://github.com/openssl/openssl/pull/29573)
Normally, testing for memory leaks is accomplished by building Openssl with the
enable-asan option, which links the library with the compiler asan library. However
-Some people prefer to use valgrind to do dynamic instrumentation for memory leak checking.
+some people prefer to use valgrind to do dynamic instrumentation for memory leak checking.
OpenSSL also offers a suppression file to suppress reachable memory leaks, that are often
inappropriately considered to be true leaks. In order to maintain and test this
suppression file, OpenSSL tests can be run under valgrind automatically.