In cryptlib.c I see the following code:
case DLL_THREAD_DETACH:
ERR_remove_state(0);
Break;
Now the problem is, as part of ERR_remove_state(0), my thread is
apparently 'detaching' from the openssl dll because it's duplicating the
handle to the thread at some point.
I have an issue and I'm not quite sure where OpenSSL exactly fits in to
it, but I figured I'd give it a shot and see if anybody had a similar
experience or any possible solutions.
I have an Apache module (mod_gsoap). Inside of the request handler I
call the Win32 API _beginthread (this function i