OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Bodo
Moeller
Root: /v/openssl/cvs Email: bodo openssl.org
Module: openssl Date:
18-Sep-2007 18:35:29
Branch: HEAD Handle:
2007091817352800
Modified files:
openssl/crypto/bn bn_mont.c
Log:
Make sure that BN_from_montgomery keeps the BIGNUMS in
proper format
Summary:
Revision Changes Path
1.49 +2 -0 openssl/crypto/bn/bn_mont.c
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/crypto/bn/bn_mont.c
============================================================
================
$ cvs diff -u -r1.48 -r1.49 bn_mont.c
--- openssl/crypto/bn/bn_mont.c 29 Jun 2007 13:10:18
-0000 1.48
+++ openssl/crypto/bn/bn_mont.c 18 Sep 2007 16:35:28
-0000 1.49
 -297,6 +297,8 
}
for (ri+=4; i<ri; i++)
rp[i]=nrp[i], ap[i]=0;
+ bn_correct_top(r);
+ bn_correct_top(ret);
#else
if (bn_wexpand(ret,al) == NULL) return(0);
ret->top=al;
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|