Re: BIO_new_mem_buf() doesn't work after RSA_private_decrypt() failure.

2006-06-20 Thread Tatsuya Tsurukawa
r = BIO_new_mem_buf(); if( bioPtr == NULL ){ ERR_get_error(); : } It seems I need to clear error queue after private decryption error, but does the status of error queue actually affect to the behaviour of following apis ? Best regards, Tatsuya Tsurukawa Richard Levitte - VMS Whacker w

BIO_new_mem_buf() doesn't work after RSA_private_decrypt() failure.

2006-06-20 Thread Tatsuya Tsurukawa
next BIO_new_mem_buf() also fails with the error code 0x407A079 by ERR_get_error(). Do I need to call some initializing api after private decryption failure, before calling BIO_new_mem_buf() again, or is there any work around ? I'm using OpenSSL 0.9.8a on 2.4.21-4 Best regards, Tatsuya Tsur

Re: How to get To-Be-Signed portion of certificate with openssl api ?

2006-04-07 Thread Tatsuya Tsurukawa
_CINF(certPtr->cert_info, &tbs); tbs is filled with data, but it is different from correct data. Best regards, Tatsuya Tsurukawa Dr. Stephen Henson wrote: >On Wed, Mar 01, 2006, Tatsuya Tsurukawa wrote: > >> Hi All, >> >> I have a quick question. >> How can I ge

How to get To-Be-Signed portion of certificate with openssl api ?

2006-02-28 Thread Tatsuya Tsurukawa
ppropriate api due to the luck of sample codes on the internet. Regards, Tatsuya Tsurukawa [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Ma