Re: "library has no ciphers"

2005-11-03 Thread Nils Larsch

Christopher P. Masone wrote:

So, I've recently upgraded to 0.9.8a.  Before this, I was using 0.9.7h, and
things were working fine.

Now, I'm getting a "library has no ciphers" error the first time I call
SSL_CTX_new...despite the fact that I have called OpenSSL_add_all_algorithms()
before I try to do any SSL stuff.  I changed it to a pair of calls, one to


you _must_ call SSL_library_init before you use the SSL stuff


OpenSSL_add_all_ciphers() and one to OpenSSL_add_all_digests() to see if I could
get a better handle on what's happening, and it seems that whichever of those
two that I call second "sticks".

This didn't used to happen with the older version of the library.  


the old ssl library initialization was not 100% mt safe so it has
been changed.

Nils
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: [OT] "library has no ciphers"

2005-11-02 Thread Leandro Santi
Christopher P. Masone, 2005-11-02:
> 
> So, I've recently upgraded to 0.9.8a.  Before this, I was using 0.9.7h, and
> things were working fine.
> 
> Now, I'm getting a "library has no ciphers" error the first time I call
> SSL_CTX_new...despite the fact that I have called OpenSSL_add_all_algorithms()
> before I try to do any SSL stuff.  I changed it to a pair of calls, one to
> OpenSSL_add_all_ciphers() and one to OpenSSL_add_all_digests() to see if I 
> could
> get a better handle on what's happening, and it seems that whichever of those
> two that I call second "sticks".
> 
> This didn't used to happen with the older version of the library.  I need to 
> use
> 0.9.8 for other features...can anyone tell me what's going on and how to fix 
> it?  

I had a similar problem with MySQL while upgrading to 0.9.8a. In the 
end, it was just a matter of calling SSL_library_init() early, at 
database startup time.

Leandro
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: "library has no ciphers"

2005-11-02 Thread Christopher P. Masone
--- Christopher P. Masone wrote:
So, I've recently upgraded to 0.9.8a.  Before this, I was using 0.9.7h, and
things were working fine.

Now, I'm getting a "library has no ciphers" error the first time I call
SSL_CTX_new...despite the fact that I have called OpenSSL_add_all_algorithms()
before I try to do any SSL stuff.  I changed it to a pair of calls, one to
OpenSSL_add_all_ciphers() and one to OpenSSL_add_all_digests() to see if I could
get a better handle on what's happening, and it seems that whichever of those
two that I call second "sticks".

This didn't used to happen with the older version of the library.  I need to use
0.9.8 for other features...can anyone tell me what's going on and how to fix 
it?  

Thanks,
Chris
--- end of quote ---

Ooops...egg on my face.  It seems that it's just that OpenSSL_add_all_ciphers()
doesn't work.  Which seems strange.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


"library has no ciphers"

2005-11-02 Thread Christopher P. Masone

So, I've recently upgraded to 0.9.8a.  Before this, I was using 0.9.7h, and
things were working fine.

Now, I'm getting a "library has no ciphers" error the first time I call
SSL_CTX_new...despite the fact that I have called OpenSSL_add_all_algorithms()
before I try to do any SSL stuff.  I changed it to a pair of calls, one to
OpenSSL_add_all_ciphers() and one to OpenSSL_add_all_digests() to see if I could
get a better handle on what's happening, and it seems that whichever of those
two that I call second "sticks".

This didn't used to happen with the older version of the library.  I need to use
0.9.8 for other features...can anyone tell me what's going on and how to fix 
it?  

Thanks,
Chris
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]