trusteddomainproject / OpenARC

Open source ARC implementation
BSD 2-Clause "Simplified" License
135 stars 45 forks source link

HAVE_OPENSSL_STRDUP broken #94

Closed jaltmayerpizzorno closed 6 years ago

jaltmayerpizzorno commented 6 years ago

OPENSSL_strdup is a macro around CRYPTO_strdup, so AC_SEARCH_LIBS in configure.ac can't find it. In any case, the code can't simply revert to the standard library's strdup, as the OpenSSL libraries may/do add debugging information around memory allocations and deallocations... the fallback code must use OpenSSL allocation functions instead. I suggest seeing if the version of OpenSSL that doesn't have OPENSSL_strdup has CRYPTO_strdup and switch all those OPENARC_malloc, etc. to use CRYPTO_... instead.

jaltmayerpizzorno commented 6 years ago

My fix is in https://github.com/trusteddomainproject/OpenARC/pull/96

AntiFreeze commented 6 years ago

96 was merged last month.