- Always use <openssl/include.h> instead of just <include.h>
[tinc] / m4 / openssl.m4
index d9f8e16..2ef9c37 100644 (file)
@@ -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,