diff options
author | Billy Brumley <bbrumley@gmail.com> | 2016-02-29 21:01:47 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-07 12:20:42 -0500 |
commit | a67788c17eb906e442db65dfd292cb56cd55867c (patch) | |
tree | 65460cce3ae5709b3bd240dd359b7e9987417563 /test | |
parent | 61f6774e9a7b49244b81c7a0693db32c9303a93e (diff) |
move ifdef statements
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/ecdhtest.c | 4 | ||||
-rw-r--r-- | test/ecdhtest_cavs.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/ecdhtest.c b/test/ecdhtest.c index 0135f7b705..3a67552b1a 100644 --- a/test/ecdhtest.c +++ b/test/ecdhtest.c @@ -497,8 +497,8 @@ static int ecdh_cavs_kat(BIO *out, const ecdh_cavs_kat_t *kat) if (is_char_two) { #ifndef OPENSSL_NO_EC2M if (!EC_POINT_set_affine_coordinates_GF2m(group, pub, x, y, NULL)) -#endif goto err; +#endif } else { if (!EC_POINT_set_affine_coordinates_GFp(group, pub, x, y, NULL)) @@ -516,8 +516,8 @@ static int ecdh_cavs_kat(BIO *out, const ecdh_cavs_kat_t *kat) if (is_char_two) { #ifndef OPENSSL_NO_EC2M if (!EC_POINT_set_affine_coordinates_GF2m(group, pub, x, y, NULL)) -#endif goto err; +#endif } else { if (!EC_POINT_set_affine_coordinates_GFp(group, pub, x, y, NULL)) diff --git a/test/ecdhtest_cavs.h b/test/ecdhtest_cavs.h index 02621c6fb8..0d700ed390 100644 --- a/test/ecdhtest_cavs.h +++ b/test/ecdhtest_cavs.h @@ -4298,4 +4298,4 @@ static const ecdh_cavs_kat_t ecdh_cavs_kats[] = { #endif }; -#endif /* ECDHTEST_KAVS_H */ +#endif /* ECDHTEST_CAVS_H */ |