BBS:      TELESC.NET.BR
Assunto:  src/ssh/comp/none.h src/ssh/deucessh.h src/ssh/enc/aes256-ctr.h none.h
De:       Deuc¨
Data:     Sun, 22 Mar 2026 12:49:35 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/4e9a7268436d7275dce26522
Modified Files:
	src/ssh/comp/none.h src/ssh/deucessh.h src/ssh/enc/aes256-ctr.h none.h src/ssh/kex/curve25519-sha256.h dh-gex-sha256.c dh-gex-sha256.h src/ssh/key_algo/rsa-sha2-256.c rsa-sha2-256.h ssh-ed25519.c ssh-ed25519.h src/ssh/mac/hmac-sha2-256.h none.h src/ssh/ssh-arch.c ssh-arch.h ssh-auth.c ssh-auth.h ssh-chan.c ssh-chan.h ssh-conn.c ssh-conn.h ssh-trans.c ssh-trans.h
Log Message:
DeuceSSH: replace POSIX ssize_t with C99 int64_t, add extern "C" guards, cap packet size

- Replace all ssize_t with int64_t across the library, removing the
  POSIX  dependency.  int64_t is standard C99 and always
  large enough for parse return values (up to 4 + UINT32_MAX).
- Remove the pointless _Static_assert (int64_t > uint32_t is true
  by definition).
- Cap max_packet_size at 64 MiB in transport_init.
- Add #ifdef __cplusplus / extern "C" guards to all 14 public headers.

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

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