Hi. I am fairly new to OpenSSL programming, so let me describe my problem in detail first. I have a program which uses OpenSSL 0.9.3a to connect to a HTTPS server. It uses the following logic: init SSL libraries select SSL method (SSLv23_client_method) create SSL context (SSL_CTX_new) create SSL session (SSL_new) while (not done) { create a new socket bind SSL session to socket (SSL_set_fd) perform SSL negotiation (SSL_connect) read/write data close socket } free SSL session (SSL_free) free SSL context (SSL_CTX_free) I'm getting an error during the second pass of the while loop: 85494:error:140920C5:SSL routines:SSL3_GET_SERVER_HELLO:old session cipher not returned:s3_clnt.c:635: During the first pass, the cipher is negotiated between client and server as RC4-MD5. The interesting thing is that I do not get this error at all when connecting to a different server (both hardware and software) which, incidentally, negotiates to use the DES-CBC3-SHA cipher. Any ideas on how to fix this? Is it as simple as setting a configuration flag in the context or session, or should I re-create the context and session during each pass of the while loop? It seems like the latter should not be the case since the program logic works fine when pointed to another server. Any help would be greatly appreciated! kevin -- Kevin Hendrix --- The number of arguments is unimportant unless some of them are correct. - Ralph Hartley ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]