projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OpenBSD tun device uses address family number instead of Ethernet type.
[tinc]
/
m4
/
openssl.m4
diff --git
a/m4/openssl.m4
b/m4/openssl.m4
index
d9f8e16
..
e5c0939
100644
(file)
--- a/
m4/openssl.m4
+++ b/
m4/openssl.m4
@@
-29,6
+29,16
@@
AC_DEFUN(tinc_OPENSSL,
[AC_MSG_ERROR("OpenSSL libraries not found.")]
)
[AC_MSG_ERROR("OpenSSL libraries not found.")]
)
+ AC_CHECK_FUNCS(RAND_pseudo_bytes)
+
+ AC_CHECK_FUNC(OpenSSL_add_all_algorithms,
+ [],
+ AC_CHECK_FUNC(SSLeay_add_all_algorithms,
+ [AC_DEFINE(HAVE_SSLEAY_ADD_ALL_ALGORITHMS)],
+ [AC_MSG_ERROR("Missing required OpenSSL functionality!")]
+ )
+ )
+
AC_CHECK_FUNC(dlopen,
[],
AC_CHECK_LIB(dl, dlopen,
AC_CHECK_FUNC(dlopen,
[],
AC_CHECK_LIB(dl, dlopen,