__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/ssh/TODO.md ssh-trans.c ssh-trans.h ssh.c src/ssh/test/dssh_test_i

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 28 12:55:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/2847d48b73aae37bc5d65896
    Modified Files:
    src/ssh/TODO.md ssh-trans.c ssh-trans.h ssh.c src/ssh/test/dssh_test_internal.h
    Log Message:
    Move session lifecycle to ssh-trans.c, demote 9 functions to static

    Move dssh_session_init, dssh_session_terminate, dssh_session_is_terminated, dssh_session_cleanup from ssh.c to ssh-trans.c so they can call transport_init/transport_cleanup directly.

    9 ssh-trans.c functions demoted from DSSH_PRIVATE:
    - transport_init, transport_cleanup, find_kex → static
    - version_exchange, kexinit, kex, newkeys, rekey, rekey_needed
    → DSSH_TESTABLE (static in production, visible to tests)

    Removes 11 declarations from ssh-trans.h, cleans up
    dssh_test_internal.h. TODO items 98-99 added (callback setter
    UB, typedef layering).

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

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