BBS:      TELESC.NET.BR
Assunto:  src/ssh/CLAUDE.md src/ssh/test/test_alloc.c test_transport.c
De:       Deuc¨
Data:     Tue, 24 Mar 2026 20:58:43 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/1c23fbc8d64084ee81d11d82
Modified Files:
	src/ssh/CLAUDE.md src/ssh/test/test_alloc.c test_transport.c
Log Message:
curve25519-sha256.c: 100% branch coverage

Fix alloc/kex_server iterate to build correct wire packets for
curve25519 (was always building DH-GEX packets regardless of KEX type).
Remove dhgex-only skip from alloc/kex_server iterate.

Add Q_S overrun test (client parse: qs_len=32 but payload truncated)
and Q_C overrun test (server: qc_len=32 but init payload truncated).

Update CLAUDE.md with two-build-directory conventions, current test
counts, and dssh_test_ossl/alloc documentation.

Both KEX files now at 100% branch coverage:
- curve25519-sha256.c: 190/190 branches (was 150/190)
- dh-gex-sha256.c: 246/246 branches (confirmed)

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]