diff options
author | Damien Miller <djm@mindrot.org> | 2019-01-21 01:32:28 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-21 01:32:28 +0100 |
commit | e2cb445d786f7572da2af93e3433308eaed1093a (patch) | |
tree | e83d87ba2af9d692bb0972baf7996b192b14e7f9 /configure.ac | |
parent | upstream: we use singleton pkcs#11 RSA_METHOD and EC_KEY_METHOD (diff) | |
download | openssh-e2cb445d786f7572da2af93e3433308eaed1093a.tar.xz openssh-e2cb445d786f7572da2af93e3433308eaed1093a.zip |
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.ac | 1 |
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 if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \ test x$enable_nistp521 = x1; then AC_DEFINE(OPENSSL_HAS_ECC, [1], [OpenSSL has ECC]) + AC_CHECK_FUNCS([EC_KEY_METHOD_new]) fi if test x$enable_nistp256 = x1; then AC_DEFINE([OPENSSL_HAS_NISTP256], [1], |