Hi, Yair Elharrar! > Sorry, I don't think that breaks any const rules. > See explanation and example in ISO/IEC 14882 section 7.1.5.1.
First of all, OpenSSL was written in C, so ISO/IEC 14882 is not a subject to reffer to (it is the C++ standard). Let's see in ISO/IEC 9899 section 6.7.3: "The implementation may place a const object that is not volatile in a read-only region of storage." That's enough. Then, if you look in BN_sub you'll easy understand that behavior will be undefined if r and b point to the same object. -- Eugene. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]