> I tried  a = BN_dup(b);
> 
> if b is NULL, it causes error. Is this normal or should it just
> duplicate NULL over to a?

It is normal. You can't do anything with uninitialized BIGNUMs.
Arguably OpenSSL should check that the input is valid first, but
that applies to many other functions as well.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to