diff options
Diffstat (limited to 'regress/unittests/sshkey/test_file.c')
-rw-r--r-- | regress/unittests/sshkey/test_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/unittests/sshkey/test_file.c b/regress/unittests/sshkey/test_file.c index de3ae38c1..d113e2da8 100644 --- a/regress/unittests/sshkey/test_file.c +++ b/regress/unittests/sshkey/test_file.c | |||
@@ -283,6 +283,7 @@ sshkey_file_tests(void) | |||
283 | 283 | ||
284 | sshkey_free(k1); | 284 | sshkey_free(k1); |
285 | 285 | ||
286 | #ifdef OPENSSL_HAS_ECC | ||
286 | TEST_START("parse ECDSA from private"); | 287 | TEST_START("parse ECDSA from private"); |
287 | buf = load_file("ecdsa_1"); | 288 | buf = load_file("ecdsa_1"); |
288 | ASSERT_INT_EQ(sshkey_parse_private_fileblob(buf, "", "ecdsa_1", | 289 | ASSERT_INT_EQ(sshkey_parse_private_fileblob(buf, "", "ecdsa_1", |
@@ -381,6 +382,7 @@ sshkey_file_tests(void) | |||
381 | TEST_DONE(); | 382 | TEST_DONE(); |
382 | 383 | ||
383 | sshkey_free(k1); | 384 | sshkey_free(k1); |
385 | #endif /* OPENSSL_HAS_ECC */ | ||
384 | 386 | ||
385 | TEST_START("parse Ed25519 from private"); | 387 | TEST_START("parse Ed25519 from private"); |
386 | buf = load_file("ed25519_1"); | 388 | buf = load_file("ed25519_1"); |