diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-07-23 04:27:50 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-07-23 04:27:50 +1000 |
commit | c4ee219a66f3190fa96cbd45b4d11015685c6306 (patch) | |
tree | 33e57c46d9f324bfb7e10a8ff711d1868eaf3967 /regress/unittests/sshkey/test_file.c | |
parent | 04f4824940ea3edd60835416ececbae16438968a (diff) |
- (dtucker) [regress/unittests/sshkey/test_{file,fuzz,sshkey}.c] Wrap ecdsa-
specific tests inside OPENSSL_HAS_ECC.
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"); |