The first sentence of the explanation below
seems to infer that its ok to call ssl_library_init() from each thread that
might want to access the SSL library. I don’t think that’s what was
intended. I think the last sentence is more accurate
– if you have a multi-threaded application, and you’ve “hooked”
the static and dynamic mutex functions to allow OpenSSL to correctly operate in
a multi-threaded environment, then SSL_library_init() should only be called
once, during application initialization. This single call will initialize the
library for all threads. This is my interpretation of from what I have gleaned
from the docs and sources. Randy From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jagannadha Bhattu G Thanks Nils and Andrew
for the replies. On 2/27/06, Nils
Larsch <[EMAIL PROTECTED]>
wrote: Jagannadha Bhattu G wrote: |
- RE: calling SSL_library_init multiple times Randy Turner
- Extract Issuer / Subject from X509 certificate Ambarish Mitra
- Re: Extract Issuer / Subject from X509 certif... Kyle Hamilton
- Re: Extract Issuer / Subject from X509 certif... Brian Candler
- RE: Extract Issuer / Subject from X509 ce... Ambarish Mitra
- Re: Extract Issuer / Subject from X50... Brian Candler
- Re: calling SSL_library_init multiple times Jagannadha Bhattu G