summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index 6aae2f5d6..953d5767d 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -202,7 +202,7 @@ AC_MSG_RESULT("pkinit will use \'$withval\'")
], withval=$PKINIT_CRYPTO_IMPL)
case "$withval" in
builtin|openssl)
- AC_CHECK_LIB(crypto, PKCS7_get_signer_info)
+ AC_CHECK_LIB(crypto, PKCS7_get_signer_info, PKINIT_CRYPTO_IMPL_LIBS=-lcrypto)
PKINIT_CRYPTO_IMPL=openssl
;;
nss)