X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=configure.ac;h=74f3fd97f97cd1228ca76fadbda92bd77b5896bd;hb=c257c9c321c6e9494dbcbb6da0af675c3a2aa8e4;hp=f9115fd652962881c1e7548c3cbac55e724305df;hpb=f80453b693e6d3ce5450755310faf5e5d6e5c143;p=paraslash.git diff --git a/configure.ac b/configure.ac index f9115fd6..74f3fd97 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,10 @@ LIB_ARG_WITH([openssl], [-lssl -lcrypto]) AC_CHECK_HEADER(openssl/ssl.h, [], [HAVE_OPENSSL=no]) AC_CHECK_LIB([crypto], [RAND_bytes], [], [HAVE_OPENSSL=no]) LIB_SUBST_FLAGS(openssl) +if test $HAVE_OPENSSL = yes; then + AC_CHECK_LIB([crypto], [RSA_set0_key], + AC_DEFINE([HAVE_RSA_SET0_KEY], [1], [openssl-1.1])) +fi UNSTASH_FLAGS ######################################################################### gcrypt STASH_FLAGS @@ -418,6 +422,7 @@ if test -n "$CRYPTOLIB" && test $HAVE_OSL = yes; then close_on_fork mm crypt_common + base64 ipc dccp_send fd @@ -480,6 +485,7 @@ if test -n "$CRYPTOLIB"; then client_common buffer_tree crypt_common + base64 version ggo " @@ -523,6 +529,7 @@ if test -n "$CRYPTOLIB"; then stat net crypt_common + base64 sideband time grab_client