On Tue, Apr 17, 2007 at 11:15:23AM -0700, Edward Chan wrote:

> BN_bn2bin(dh->pub_key, buf);
> ReverseBytes(buf, size); // MS CAPI requires this in little-endian

Reversing the BER encoded bytes of a big endian integer does not yield
the BER encoding of the correspoding little-endian integer.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to