summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-21 11:32:28 +1100
committerDamien Miller <djm@mindrot.org>2019-01-21 11:32:28 +1100
commite2cb445d786f7572da2af93e3433308eaed1093a (patch)
treee83d87ba2af9d692bb0972baf7996b192b14e7f9 /configure.ac
parentfcb1b0937182d0137a3c357c89735d0dc5869d54 (diff)
conditionalise ECDSA PKCS#11 support
Require EC_KEY_METHOD support in libcrypto, evidenced by presence of EC_KEY_METHOD_new() function.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0509c306d..a5974e372 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2973,6 +2973,7 @@ if test "x$openssl" = "xyes" ; then
2973 if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \ 2973 if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \
2974 test x$enable_nistp521 = x1; then 2974 test x$enable_nistp521 = x1; then
2975 AC_DEFINE(OPENSSL_HAS_ECC, [1], [OpenSSL has ECC]) 2975 AC_DEFINE(OPENSSL_HAS_ECC, [1], [OpenSSL has ECC])
2976 AC_CHECK_FUNCS([EC_KEY_METHOD_new])
2976 fi 2977 fi
2977 if test x$enable_nistp256 = x1; then 2978 if test x$enable_nistp256 = x1; then
2978 AC_DEFINE([OPENSSL_HAS_NISTP256], [1], 2979 AC_DEFINE([OPENSSL_HAS_NISTP256], [1],