mirror of
https://github.com/hanzomsg/nats-server.git
synced 2026-10-30 20:27:34 +00:00
Resolves #6467 It appears .NET clients on Windows 10 cannot use TLS 1.3, and when negotiating down to TLS 1.2 the signature format is more strict, requiring ASN.1 DER encoding, producing a larger signature than the one generated using the more permissive TLS 1.3 signature. This change increases the signature buffer to exactly half of the hash size. Signed-off-by: John Weldon <[email protected]>