Svenning S�rensen wrote:
> 
> 
> I don't think that is quite enough.
> If BN_bin2bn returns NULL, there would still be a problem.
> 
> Rather, I think you need something like:
> 
>   if (ret && ai->type == V_ASN1_NEG_INTEGER) ret->neg = 1;
> 

Yes I looked at the code too quickly. I thought it exited if 'ret' was
NULL. I'll fix that too.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to