<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#333333">
I am using OpenSSL 1.0.1l in Win32 environment.<br>
<br>
In the main section of the program I initialize the SSL library and
load the error strings.<br>
<br>
Then I create two threads that run concurrently. One sends GET
requests to a website and the other sends POST requests to a website
using SSL -- both threads do this in an infinite loop with a 100
millisecond pause. No variables are shared between the two
threads. Everything is declared locally.<br>
<br>
I use a mutex to make sure it is impossible for the two threads to
be running at the time (so basically each thread does its work
between a WaitForSingleObject and ReleaseMutex call)<br>
<br>
In this situation, am I correct that there is no need to use
CRYPTO_set_locking_callback ? My program has been running for 3+
days and never had a crash or error.<br>
Although the documention says this CRYPTO_set_locking_callback
function is needed for mufti-threaded programs, I don't see why in
the above situation it would be. <br>
<br>
Please advise.<br>
<br>
Thanks,<br>
<br>
-Avery<br>
</body>
</html>