summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_err.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-12-03 09:39:04 +0000
committerBodo Möller <bodo@openssl.org>2000-12-03 09:39:04 +0000
commit152a689cf93f2bac78c1b0d6ee24c86640ae0f34 (patch)
tree7493c7de70e4bbd8fe3ea01c1d705c4f523b5047 /crypto/bn/bn_err.c
parent35a99b6380231992457f9e4133d3c3e509b85d0d (diff)
Don't allow BIGNUMs to become so large that computations with dmax
might overflow.
Diffstat (limited to 'crypto/bn/bn_err.c')
-rw-r--r--crypto/bn/bn_err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_err.c b/crypto/bn/bn_err.c
index afb9320322..2bb311f95c 100644
--- a/crypto/bn/bn_err.c
+++ b/crypto/bn/bn_err.c
@@ -105,6 +105,7 @@ static ERR_STRING_DATA BN_str_reasons[]=
{BN_R_NOT_INITIALIZED ,"not initialized"},
{BN_R_NO_INVERSE ,"no inverse"},
{BN_R_P_IS_NOT_PRIME ,"p is not prime"},
+{BN_R_TOO_LARGE ,"too large"},
{BN_R_TOO_MANY_ITERATIONS ,"too many iterations"},
{BN_R_TOO_MANY_TEMPORARY_VARIABLES ,"too many temporary variables"},
{0,NULL}