Change error message to "bignum too long"
[openssl.git] / crypto / bn / bn_lib.c
index c71f0b0863e530564310505480d712f1409aa087..e37b85bfc549c63631c08041e1939e290ce27e1c 100644 (file)
@@ -315,7 +315,7 @@ static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
 
        if (words > (INT_MAX/(4*BN_BITS2)))
                {
-               BNerr(BN_F_BN_EXPAND_INTERNAL,BN_R_TOO_LARGE);
+               BNerr(BN_F_BN_EXPAND_INTERNAL,BN_R_BIGNUM_TOO_LONG);
                return NULL;
                }