commit | 2efcf812b4c1555ca3aff744820a3b3bccd68298 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Mon Jan 21 11:57:21 2019 +1100 |
committer | Damien Miller <djm@mindrot.org> | Mon Jan 21 11:57:21 2019 +1100 |
tree | ca103b692c7f198d50edce9caed13f99b443a49b | |
parent | 3c0c657ed7cd335fc05c0852d88232ca7e92a5d9 [diff] |
Fix -Wunused when compiling PKCS#11 without ECDSA
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index 7dc8289..c4afac9 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c
@@ -78,6 +78,7 @@ int pkcs11_interactive = 0; +#ifdef HAVE_EC_KEY_METHOD_NEW static void ossl_error(const char *msg) { @@ -87,6 +88,7 @@ error("%s: %s: %.100s", __func__, msg, ERR_error_string(e, NULL)); } +#endif /* HAVE_EC_KEY_METHOD_NEW */ int pkcs11_init(int interactive)