mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
Fix -Wunused when compiling PKCS#11 without ECDSA
This commit is contained in:
parent
3c0c657ed7
commit
2efcf812b4
@ -78,6 +78,7 @@ struct pkcs11_key {
|
|||||||
|
|
||||||
int pkcs11_interactive = 0;
|
int pkcs11_interactive = 0;
|
||||||
|
|
||||||
|
#ifdef HAVE_EC_KEY_METHOD_NEW
|
||||||
static void
|
static void
|
||||||
ossl_error(const char *msg)
|
ossl_error(const char *msg)
|
||||||
{
|
{
|
||||||
@ -87,6 +88,7 @@ ossl_error(const char *msg)
|
|||||||
error("%s: %s: %.100s", __func__, msg,
|
error("%s: %s: %.100s", __func__, msg,
|
||||||
ERR_error_string(e, NULL));
|
ERR_error_string(e, NULL));
|
||||||
}
|
}
|
||||||
|
#endif /* HAVE_EC_KEY_METHOD_NEW */
|
||||||
|
|
||||||
int
|
int
|
||||||
pkcs11_init(int interactive)
|
pkcs11_init(int interactive)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user