_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

  • src/ssh/TODO.md deucessh-comp.h deucessh-enc.h deucessh-kex.h deucessh

    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/ffd00fa66f5d1dfdfde371ec
    Modified Files:
    src/ssh/TODO.md deucessh-comp.h deucessh-enc.h deucessh-kex.h deucessh-key-algo.h deucessh-mac.h ssh-trans.c ssh-trans.h src/ssh/test/test_transport.c
    Log Message:
    Close items 16, 18: type-safe algorithm lists, DEFINE_REGISTER macro

    Item 16: _Static_assert on next field offset for all 6 algorithm
    structs (dssh_kex_s, dssh_key_algo_s, dssh_enc_s, dssh_mac_s,
    dssh_comp_s, dssh_language_s) and test_algo_node. FREE_LIST macro
    now takes a type parameter and uses typed ->next access instead of
    memcpy cast.

    Item 18: six identical dssh_transport_register_*() functions replaced
    with DEFINE_REGISTER(func_name, param_type, head, tail, entries)
    macro (~140 lines -> ~25 lines).

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

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