thank you for your help again. A friend of mine solved the problem:
The error was caused by a wrong order of commands. If SSL_new is
executed before SSL_CTX_use_certificate_file and
SSL_CTX_use_RSAPrivateKey_file, the certs and the private key will not
be passed to the SSL structure. Consequently, the server will not get
any "shared cipher" information.
Hope this helps other people :)
On 06.04.2012 22:06, Jeffrey Walton wrote:
> On Fri, Apr 6, 2012 at 1:42 PM, crk <crk@...> wrote:
>> unfortunately this didn't help.
>> Besides, I am using SSL_library_init. The manual says
>> OpenSSL_add_ssl_algorithms() and SSLeay_add_ssl_algorithms() are
>> synonyms for SSL_library_init().
> The client and server each call a different function to set their
> ciphers. I don't recall what it is, though.
> Google is your friend.
> OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@... > Automated List Manager majordomo@... >