summaryrefslogtreecommitdiffstats
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index 6aae2f5d69..953d5767d1 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)