Fix -Wunused when compiling PKCS#11 without ECDSA

This commit is contained in:
Damien Miller 2019-01-21 11:57:21 +11:00
parent 3c0c657ed7
commit 2efcf812b4

View File

@ -78,6 +78,7 @@ struct pkcs11_key {
int pkcs11_interactive = 0;
#ifdef HAVE_EC_KEY_METHOD_NEW
static void
ossl_error(const char *msg)
{
@ -87,6 +88,7 @@ ossl_error(const char *msg)
error("%s: %s: %.100s", __func__, msg,
ERR_error_string(e, NULL));
}
#endif /* HAVE_EC_KEY_METHOD_NEW */
int
pkcs11_init(int interactive)