From: Tom Yu Date: Wed, 18 Jan 2012 16:36:57 +0000 (+0000) Subject: LIBS should not include PKINIT_CRYPTO_IMPL_LIBS X-Git-Tag: krb5-1.10-final~3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b1a9f546324886890e8deb73cdde461670a05352;p=krb5.git LIBS should not include PKINIT_CRYPTO_IMPL_LIBS Pull up r25491 from trunk ------------------------------------------------------------------------ r25491 | hartmans | 2011-11-29 16:22:21 -0500 (Tue, 29 Nov 2011) | 6 lines ticket: new Subject: LIBS should not include PKINIT_CRYPTO_IMPL_LIBS tags: pullup target_version: 1.10 AC_CHECK_LIB should put -lcrypto in PKINIT_CRYPTO_IMPL_LIBS not LIBS for pkinit. A similar problem exists for crypto_impl and is not addressed by this patch. ticket: 7077 version_fixed: 1.10 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25655 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/configure.in b/src/configure.in index d3e407a7c..3101439fd 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)