projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change error message to "bignum too long"
[openssl.git]
/
crypto
/
bn
/
bn_lib.c
diff --git
a/crypto/bn/bn_lib.c
b/crypto/bn/bn_lib.c
index c71f0b0863e530564310505480d712f1409aa087..e37b85bfc549c63631c08041e1939e290ce27e1c 100644
(file)
--- a/
crypto/bn/bn_lib.c
+++ b/
crypto/bn/bn_lib.c
@@
-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;
}