diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c index 68a517035..98dacc4f6 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c +++ b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c @@ -506,7 +506,7 @@ EC_GROUP *ec_group_new_brainpool(bp_curve *curve) goto failed; } G = EC_POINT_new(group); -#ifdef OPENSSL_VERSION_NUMBER >= 0x1010100fL +#if OPENSSL_VERSION_NUMBER >= 0x1010100fL if (!G || !EC_POINT_set_affine_coordinates(group, G, x, y, ctx)) #else if (!G || !EC_POINT_set_affine_coordinates_GFp(group, G, x, y, ctx))