Hi!

> This patch fixes the multithreading issues I was having when an RSA
> struct was being used by multiple threads simultaneously with blinding
> enabled.
>
> It adds _r versions of the convert/invert functions to save the
> unblinding value, and does the update in the convert step.  rsa_eay.c
> uses the RSA_BLINDING lock to make the convert-and-update step atomic.
>
> The patch is for 0.9.6i.

I can confirm that this patch really solves our problems. We wrote a test
that creates 10 threads to sign and verify. Without this patch most of the
signatures were invalid. With this patch all of them were correct. No
memory leaks.

Arne

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

Reply via email to