• src/syncterm/ssh.c telnets.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sun Jan 5 03:57:26 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/9dd5381be0171874d6cf1b5b
    Modified Files:
    src/syncterm/ssh.c telnets.c
    Log Message:
    Add wrappers for cryptlib functions

    If anything that should send/receive data returns CRYPT_ERROR_COMPLETE
    tell the I/O threads to temrinate so conn_connected() will return false

    Another attempt at bug 174.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Jan 5 04:49:22 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8a45840849104cdda3be5599
    Modified Files:
    src/syncterm/ssh.c telnets.c
    Log Message:
    Check for CRYPT_ERROR_READ as well

    cryptPopData() and cryptFlushData() will return CRYPT_ERROR_READ
    if the socket is unexpectedly closed, not CRYPT_ERROR_COMPLETE.

    Handle that in the wrappers as well.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Jan 5 04:57:52 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f9e66adc7775cacc2f9cf970
    Modified Files:
    src/syncterm/ssh.c telnets.c
    Log Message:
    Don't popup error message if we're already disconnected

    Another fix for bug 174

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net