diff options
Diffstat (limited to 'ssh-pkcs11.c')
-rw-r--r-- | ssh-pkcs11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index 7dc828978..c4afac994 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c | |||
@@ -78,6 +78,7 @@ struct pkcs11_key { | |||
78 | 78 | ||
79 | int pkcs11_interactive = 0; | 79 | int pkcs11_interactive = 0; |
80 | 80 | ||
81 | #ifdef HAVE_EC_KEY_METHOD_NEW | ||
81 | static void | 82 | static void |
82 | ossl_error(const char *msg) | 83 | ossl_error(const char *msg) |
83 | { | 84 | { |
@@ -87,6 +88,7 @@ ossl_error(const char *msg) | |||
87 | error("%s: %s: %.100s", __func__, msg, | 88 | error("%s: %s: %.100s", __func__, msg, |
88 | ERR_error_string(e, NULL)); | 89 | ERR_error_string(e, NULL)); |
89 | } | 90 | } |
91 | #endif /* HAVE_EC_KEY_METHOD_NEW */ | ||
90 | 92 | ||
91 | int | 93 | int |
92 | pkcs11_init(int interactive) | 94 | pkcs11_init(int interactive) |