* Louis Solomon [SteelBytes] via RT ([EMAIL PROTECTED]) wrote:
> 
> yea, I think that patch should be ok.

> > + CRYPTO_w_lock(CRYPTO_LOCK_SSL);
> >   if (init_ciphers) load_ciphers();
> > + CRYPTO_w_unlock(CRYPTO_LOCK_SSL);

Is this one of those performance-critical cases were you should run a
test outside the lock first? Ie.

   if (init_ciphers)
       {
       CRYPTO_w_lock(CRYPTO_LOCK_SSL);
       if (init_ciphers) load_ciphers();
       CRYPTO_w_unlock(CRYPTO_LOCK_SSL);
       }

Cheers,
Geoff

-- 
Geoff Thorpe
[EMAIL PROTECTED]
http://www.openssl.org/

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

Reply via email to