- Always use <openssl/include.h> instead of just <include.h>
[oweals/tinc.git] / m4 / openssl.m4
index d9f8e1634d490d52da569b7e1c9b0d4d9ccd41f1..2ef9c37853104a993e731e55d8b950710bd38145 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,