Modified Files:
ftpsrvr.c js_socket.c mailsrvr.c services.c ssl.c ssl.h
websrvr.c
Log Message:
There appears to be data corruption in cryptlib if a private key is added
to a second thread before the first has the session set active. Add calls
to lock/unlock the certificate to prevent this.
The better options is likely to have a function that adds the key and socket and sets the session active in one call and handles the locking internally.
But I'm lazy, so we get the lock functions.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net