mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-01 20:19:39 +00:00
move ifdef statements
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
61f6774e9a
commit
a67788c17e
@ -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))
|
||||
|
@ -4298,4 +4298,4 @@ static const ecdh_cavs_kat_t ecdh_cavs_kats[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* ECDHTEST_KAVS_H */
|
||||
#endif /* ECDHTEST_CAVS_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user