From: Andy Polyakov Date: Thu, 19 Jul 2018 12:45:06 +0000 (+0200) Subject: ec/ec_lcl.h: fix pre-C9x compilation problems. X-Git-Tag: OpenSSL_1_1_1-pre9~118 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=756c91b163e7d4b117590e2cb7632fbfd8cd0bda;p=oweals%2Fopenssl.git ec/ec_lcl.h: fix pre-C9x compilation problems. Reviewed-by: Rich Salz Reviewed-by: Kurt Roeckx (Merged from https://github.com/openssl/openssl/pull/6745) --- diff --git a/crypto/ec/ec_lcl.h b/crypto/ec/ec_lcl.h index 8b16971aab..217392eacd 100644 --- a/crypto/ec/ec_lcl.h +++ b/crypto/ec/ec_lcl.h @@ -681,9 +681,9 @@ int ec_scalar_mul_ladder(const EC_GROUP *group, EC_POINT *r, int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx); -static inline int ec_point_ladder_pre(const EC_GROUP *group, - EC_POINT *r, EC_POINT *s, - EC_POINT *p, BN_CTX *ctx) +static ossl_inline int ec_point_ladder_pre(const EC_GROUP *group, + EC_POINT *r, EC_POINT *s, + EC_POINT *p, BN_CTX *ctx) { if (group->meth->ladder_pre != NULL) return group->meth->ladder_pre(group, r, s, p, ctx); @@ -695,9 +695,9 @@ static inline int ec_point_ladder_pre(const EC_GROUP *group, return 1; } -static inline int ec_point_ladder_step(const EC_GROUP *group, - EC_POINT *r, EC_POINT *s, - EC_POINT *p, BN_CTX *ctx) +static ossl_inline int ec_point_ladder_step(const EC_GROUP *group, + EC_POINT *r, EC_POINT *s, + EC_POINT *p, BN_CTX *ctx) { if (group->meth->ladder_step != NULL) return group->meth->ladder_step(group, r, s, p, ctx); @@ -710,9 +710,9 @@ static inline int ec_point_ladder_step(const EC_GROUP *group, } -static inline int ec_point_ladder_post(const EC_GROUP *group, - EC_POINT *r, EC_POINT *s, - EC_POINT *p, BN_CTX *ctx) +static ossl_inline int ec_point_ladder_post(const EC_GROUP *group, + EC_POINT *r, EC_POINT *s, + EC_POINT *p, BN_CTX *ctx) { if (group->meth->ladder_post != NULL) return group->meth->ladder_post(group, r, s, p, ctx);