When running this test program I wrote, I _sometimes_ get
an error return by SSL_CTX_new(). The error msg is:
"SSL routines:SSL_CTX_new:library has no ciphers"
Louis Solomon
[EMAIL PROTECTED]
source and binaries of test program avail from:
http://www.steeelbytes.com/temp/openssl_bug_test.zip
openssl versions tested with:
0.9.6g compiled by me (src from openssl.org)
0.9.6g binaries from bsdftpd-ssl.sc.ru
0.9.6d binaries from mod-ssl.org
test enviroment:
winxp pro sp1
dual P3 733Mhz + 768MB ram
compiler:
visual studio .net
pseudo code:
main_thread()
{
init ssl (dyanmically linked with LoadLibrary and GetProcAddress)
success = 0;
create a heap of worker threads
wait for work threads
clean up ssl
if (success!=num_threads)
show error
else
show success
}
worker_thread()
{
ssl_meth = SSLv23_method();
ssl_ctx = SSL_CTX_new(ssl_meth);
if (ssl_ctx!=NULL)
{
SSL_CTX_free(ssl_ctx);
success++;
}
else
{
log ssl error to debug output
}
}
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]