Commit a67788c1 authored by Billy Brumley's avatar Billy Brumley Committed by Rich Salz
Browse files

move ifdef statements

parent 61f6774e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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))
+1 −1
Original line number Diff line number Diff line
@@ -4298,4 +4298,4 @@ static const ecdh_cavs_kat_t ecdh_cavs_kats[] = {
#endif
};

#endif /* ECDHTEST_KAVS_H */
#endif /* ECDHTEST_CAVS_H */