Hello! During the OpenSSL source investigation I found some strange call in function BN_mod_inverse: ... if (sign < 0) { if (!BN_sub(Y,n,Y)) goto err; } ...
But! Declaration of BN_sub looks like this: int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) In some circumstances r will be expanded in BN_sub, so original call "BN_sub(Y,n,Y)" breaks the rule of const. -- Eugene. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]