[pkg-opensc-commit] [engine-pkcs11] 134/152: when compiling with old libp11 disable ECDSA support
Eric Dorland
eric at moszumanska.debian.org
Mon Oct 19 03:11:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository engine-pkcs11.
commit 8c6d6f131b761fec1a1172cbc4df166577644c27
Author: Nikos Mavrogiannopoulos <nmav at gnutls.org>
Date: Wed Sep 16 00:16:14 2015 +0200
when compiling with old libp11 disable ECDSA support
---
configure.ac | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1675873..05ba886 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,6 +118,13 @@ PKG_CHECK_MODULES(
PKG_CHECK_MODULES([LIBP11], [libp11 >= 0.2.5],, [AC_MSG_ERROR([libp11 >= 0.2.5 is required])])
+saved_LIBS=$LIBS
+LIBS="$LIBP11_LIBS"
+AC_CHECK_LIB(p11, PKCS11_ecdsa_method_free, [], [
+AC_DEFINE([OPENSSL_NO_ECDSA], [], [ECDSA support was not detected in libp11])
+])
+LIBS=$saved_LIBS
+
PKG_CHECK_MODULES(
[OPENSSL],
[libcrypto >= 0.9.7],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git
More information about the pkg-opensc-commit
mailing list