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.
OPENSSL_strdup
is a macro aroundCRYPTO_strdup
, soAC_SEARCH_LIBS
inconfigure.ac
can't find it. In any case, the code can't simply revert to the standard library'sstrdup
, 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 haveOPENSSL_strdup
hasCRYPTO_strdup
and switch all thoseOPENARC_malloc
, etc. to useCRYPTO_...
instead.