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. The problem is, I don't want that handle to be around anymore regardless of what it is. If I comment out the ERR_remove_state(0) then it appears to function the way I want, my question is, what are the adverse affects of making such a change? How far reaching is it? From, Beau Croteau