Hi, 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 :) Best regards chris r. On 06.04.2012 22:06, Jeffrey Walton wrote: > On Fri, Apr 6, 2012 at 1:42 PM, crk <c...@crook.de> wrote: >> Hi, >> >> 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. > > Jeff > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org