SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED despite SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF)

2010-03-16 Thread Claus Assmann
I've got a bug report that my MTA fails from time to time during the TLS handshake with the following error: 4476:error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized:ssl_sess.c:413 (OpenSSL 0.9.8m and 1.0.0.Beta5) The MTA tries to turn off the session cache using S

How to load and clear dynamic engines

2010-03-16 Thread Becky H
Hello - I have been reading the openssl engine documentation --> http://www.openssl.org/docs/crypto/engine.html but am still unclear on some things. I am not using openssl directly, but rather using M2Crypto which wraps openssl. So here is the flow of things with the corresponding openssl c

Re: What is RAND_screen for ?

2010-03-16 Thread Dr. Stephen Henson
On Tue, Mar 16, 2010, Mathieu Malaterre wrote: > Hi there, > > I am looking at an old piece of code: > > http://cpansearch.perl.org/src/SAMPO/smime-0.7/smimeutil.c > > ... > #ifdef WINDOWS > LOG_PRINT("RAND_screen..."); > RAND_screen(); /* Loading video display memory into random state */

What is RAND_screen for ?

2010-03-16 Thread Mathieu Malaterre
Hi there, I am looking at an old piece of code: http://cpansearch.perl.org/src/SAMPO/smime-0.7/smimeutil.c ... #ifdef WINDOWS LOG_PRINT("RAND_screen..."); RAND_screen(); /* Loading video display memory into random state */ #endif ... And I was wondering why RAND_screen was being called o