Include openssl crypto.h for SSLeay.

Patch from doughdemon via github.
This commit is contained in:
Darren Tucker 2015-12-15 14:27:09 +11:00
parent c6f5f01651
commit c1d7e546f6

View File

@ -2426,6 +2426,7 @@ if test "x$openssl" = "xyes" ; then
[AC_LANG_PROGRAM([[
#include <string.h>
#include <openssl/opensslv.h>
#include <openssl/crypto.h>
]], [[
exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1);
]])],