diff options
author | Mark J. Cox <mark@openssl.org> | 1999-01-28 10:40:38 +0000 |
---|---|---|
committer | Mark J. Cox <mark@openssl.org> | 1999-01-28 10:40:38 +0000 |
commit | a0a5407901ae93fadcfead6d44b923b8ef1ad579 (patch) | |
tree | f491c5aedf07971f7a960e0976e7eef3d508e090 /crypto/bn/exp.c | |
parent | 8938272b322353aa564c21597ff43c010a0dd487 (diff) |
Fixes to BN code. Previously the default was to define BN_RECURSION
but the BN code had some problems that would cause failures when
doing certificate verification and some other functions.
Submitted by: Eric A Young from a C2Net version of SSLeay
Reviewed by: Mark J Cox
PR:
Diffstat (limited to 'crypto/bn/exp.c')
-rw-r--r-- | crypto/bn/exp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/exp.c b/crypto/bn/exp.c index 2427116564..6a24fee749 100644 --- a/crypto/bn/exp.c +++ b/crypto/bn/exp.c @@ -48,7 +48,7 @@ char *argv[]; BN_mod_exp_mont(&r,&a,&b,&c,&ctx,&mont); } ms_time_get(end); - d=ms_time_diff(start,end) *50/33 /**/; + d=ms_time_diff(start,end)/* *50/33 /**/; printf("%5d bit:%6.2f %6d %6.4f %4d m_set(%5.4f)\n",size, d,num,d/num,(int)((d/num)*mod),md/10.0); num/=8; |