From: Richard Levitte Date: Fri, 11 Mar 2016 18:22:58 +0000 (+0100) Subject: Because bn_expand2 is declared non-static, it must not be static X-Git-Tag: OpenSSL_1_1_0-pre4~48 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=239b84e592386d6053e16295f80bb85f65ce3ef9 Because bn_expand2 is declared non-static, it must not be static That doesn't change even to make a dummy to hide its unavailability. Reviewed-by: Rich Salz --- diff --git a/test/bntest.c b/test/bntest.c index 53769aad60..57ccc1eb35 100644 --- a/test/bntest.c +++ b/test/bntest.c @@ -91,7 +91,7 @@ * avoid possible clashes with libcrypto, we rename it first, using a macro. */ #define bn_expand2 dummy_bn_expand2 -static BIGNUM *bn_expand2(BIGNUM *b, int words) { return NULL; } +BIGNUM *bn_expand2(BIGNUM *b, int words) { return NULL; } #include "../crypto/bn/bn_lcl.h"