about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorIssam E. Maghni <issam.e.maghni@mailbox.org>2020-08-19 19:24:22 -0400
committerJune McEnroe <june@causal.agency>2020-08-23 14:01:00 -0400
commitcd02c9f11ae2f848d44917ffa8f887708b3a93c9 (patch)
treed2dbc02545889e6baed706bc2653802c247aefb2 /configure
parentcontrib/palaver: Add no message preview flags (diff)
downloadpounce-cd02c9f11ae2f848d44917ffa8f887708b3a93c9.tar.gz
pounce-cd02c9f11ae2f848d44917ffa8f887708b3a93c9.zip
Replace “RAND_bytes” by “getentropy”
This removes the dependency on libcrypto.

Signed-off-by: Issam E. Maghni <issam.e.maghni@mailbox.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 5911471..95ea53c 100755
--- a/configure
+++ b/configure
@@ -32,7 +32,7 @@ done
 
 case "$(uname)" in
 	(FreeBSD)
-		ldlibs -lcrypt -lcrypto
+		ldlibs -lcrypt
 		config libtls
 		defstr OPENSSL_BIN /usr/bin/openssl
 		defstr CERTBOT_PATH /usr/local/etc/letsencrypt
@@ -41,18 +41,18 @@ case "$(uname)" in
 	(Linux)
 		cflags -D_GNU_SOURCE
 		ldlibs -lcrypt
-		config libcrypto libtls
+		config libtls
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
 		;;
 	(Darwin)
 		cflags -D__STDC_WANT_LIB_EXT1__=1
 		cflags "-D'explicit_bzero(b,l)=memset_s((b),(l),0,(l))'"
-		config libcrypto libtls
+		config libtls
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
 		;;
 	(*)
 		ldlibs -lcrypt
-		config libcrypto libtls
+		config libtls
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
 		;;
 esac