- Always use <openssl/include.h> instead of just <include.h>
- Check if RAND_pseudo_bytes() exists, otherwise just use RAND_bytes()
This commit is contained in:
parent
6bd93e4c06
commit
1e2bdc2b6d
5 changed files with 31 additions and 83 deletions
|
@ -29,6 +29,8 @@ AC_DEFUN(tinc_OPENSSL,
|
|||
[AC_MSG_ERROR("OpenSSL libraries not found.")]
|
||||
)
|
||||
|
||||
AC_CHECK_FUNCS(RAND_pseudo_bytes)
|
||||
|
||||
AC_CHECK_FUNC(dlopen,
|
||||
[],
|
||||
AC_CHECK_LIB(dl, dlopen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue