diff options
Diffstat (limited to 'sshkey.c')
-rw-r--r-- | sshkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -657,9 +657,9 @@ cert_compare(struct sshkey_cert *a, struct sshkey_cert *b) | |||
657 | int | 657 | int |
658 | sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) | 658 | sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) |
659 | { | 659 | { |
660 | #ifdef WITH_OPENSSL | 660 | #if defined(WITH_OPENSSL) && defined(OPENSSL_HAS_ECC) |
661 | BN_CTX *bnctx; | 661 | BN_CTX *bnctx; |
662 | #endif /* WITH_OPENSSL */ | 662 | #endif /* WITH_OPENSSL && OPENSSL_HAS_ECC */ |
663 | 663 | ||
664 | if (a == NULL || b == NULL || | 664 | if (a == NULL || b == NULL || |
665 | sshkey_type_plain(a->type) != sshkey_type_plain(b->type)) | 665 | sshkey_type_plain(a->type) != sshkey_type_plain(b->type)) |