aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn/bn_exp2.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-11-04 22:54:49 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-11-04 22:54:49 +0000
commitd870740cd75dd4f0cb66fb8c32653a7d47369706 (patch)
tree0c6cb1ce0b1083c96419c432d1f05c3dff51320d /crypto/bn/bn_exp2.c
parentd8ec0dcf457f4dec39f137657b702fcbeaf5cc04 (diff)
downloadopenssl-d870740cd75dd4f0cb66fb8c32653a7d47369706.zip
openssl-d870740cd75dd4f0cb66fb8c32653a7d47369706.tar.gz
openssl-d870740cd75dd4f0cb66fb8c32653a7d47369706.tar.bz2
Put the first stage of my bignum debugging adventures into CVS. This code
is itself experimental, and in addition may cause execution to break on existing openssl "bugs" that previously were harmless or at least invisible.
Diffstat (limited to 'crypto/bn/bn_exp2.c')
-rw-r--r--crypto/bn/bn_exp2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_exp2.c b/crypto/bn/bn_exp2.c
index 73ccd58..3bf7daf 100644
--- a/crypto/bn/bn_exp2.c
+++ b/crypto/bn/bn_exp2.c
@@ -309,5 +309,6 @@ err:
BN_clear_free(&(val1[i]));
for (i=0; i<ts2; i++)
BN_clear_free(&(val2[i]));
+ bn_check_top(rr);
return(ret);
}