• 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 Saturday, March 28, 2026 12:55:04
    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) <[email protected]>

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