Commit 7b8e47a
committed
Fix too small ecdsa private key buffer
When RSA or DSS are not built, the private key buffer size is too small,
resulting in a "bad_getbuf" or similar exit. This was a regression in
2025.87.
Fixes: 440b7b5 ("Add sntrup761x25519-sha512 post-quantum key exchange")
ECDSA private key requires around 241 bytes
4 + len("ecdsa-sha2-nistp521") + 4 + (521/8+1 + 4)*3 + 4
Fixes #368 on github.1 parent 4a96109 commit 7b8e47a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments