RE: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01

2013-11-29 Thread Wubin Cheng
Thanks for your detailed answer! The problem is the root cause of the multi-threaded operation. When I use a mutex in the signature and verifying it can work. -- View this message in context:

error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01

2013-11-26 Thread Wubin Cheng
. openssl version:openssl-1.0.1c Who can tell me what's wrong? thanks very much! Wubin Cheng -- View this message in context: http://openssl.6102.n7.nabble.com/error-0407006A-rsa-routines-RSA-padding-check-PKCS1-type-1-block-type-is-not-01-tp47462.html Sent from the OpenSSL - User mailing

X509_verify failure

2013-11-25 Thread Wubin Cheng
hi! I'm in trouble to use X509_verify and X509_CRL_verify function. i create a certificate,then sign it and verify it. Sometimes I would get verify failure when I repeat that. i checked the public key and the private key were both correct. the error strings: error:0407006A:rsa