The correct assertion should be assert((i == BN_BITS2) || (h <= (BN_ULONG)1<<i)); as it should prevent an overflow (the result doesn't fit into a single BN_ULONG). Please test a recent snapshot.
Thanks, Nils ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]