macro redefined: OPENSSL_free

Hans Werner Strube <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
When compiling modssl (at least 2.8.17 to 2.8.22, have overlooked this
earlier), there are many warnings:
"./ssl_util_ssl.h", line 90: warning: macro redefined: OPENSSL_free
My openssl version is 0.9.6m (the latest 0.9.6 release), defining
in opensslv.h and crypto.h, respectively:
#define OPENSSL_VERSION_NUMBER 0x009060dfL
#define OPENSSL_free(addr) CRYPTO_free(addr)

Thus, since 0x009060df < 0x00906100, modssl uses free() instead of
CRYPTO_free(). Is this really intended?
Otherwise the SSL_LIBRARY_VERSION test in ssl_util_ssl.h, line 89, should
use a smaller number than 0x00906100. AfaIk the macro OPENSSL_free was
already introduced on the transition from 0.9.5 to 0.9.6.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.