• src/sbbs3/ftpsrvr.c js_socket.c mailsrvr.c services.c ssl.c ssl.h websrvr.c

    From deuce@VERT to CVS commit on Wednesday, March 06, 2019 17:11:01
    src/sbbs3 ftpsrvr.c 1.487 1.488 js_socket.c 1.225 1.226 mailsrvr.c 1.682 1.683 services.c 1.326 1.327 ssl.c 1.41 1.42 ssl.h 1.13 1.14 websrvr.c 1.677 1.678
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2131

    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