mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-04-08 18:35:05 +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;
|
||||
|
||||
#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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user