During the development process we found that libcrypto contains a lot of redundant strings in the final binary even when it was built with Debugging turned off. These strings undesirably reveal absolute paths to the source files of libcrypto. The paths usually contain private information, e.g. "/Users/john.johnson/Projects/libssl/crypto/evp/encode.c".
That happens because several macros, like OPENSSL_malloc(), OPENSSL_assert() etc., pass __FILE__ as an operand to the underlying routines. I'd like to propose a new macro, NDEBUG, which turns on/off passing __FILE__ as an argument. Thanks, Alex Komnin.
openssl-ndebug.patch
Description: Binary data
_______________________________________________ openssl-dev mailing list [email protected] https://mta.opensslfoundation.net/mailman/listinfo/openssl-dev
