• src/syncterm/ini_crypt.c ini_crypt_test.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sun Aug 16 10:14:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/09893f55a2fa29c33b636c34
    Modified Files:
    src/syncterm/ini_crypt.c ini_crypt_test.c
    Log Message:
    ini_crypt: remove unreachable cipher defaults (CID 505471)

    The writer rejects every encrypted output algorithm except AES and ChaCha20 before resolving a default key size, and both supported algorithms use 256 bits. Replace the unreachable legacy switch with that shared default and cover zero-size resolution for both algorithms.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>

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