From 977618ed15f744bacce1b20b5cd8f35a7a12f52f Mon Sep 17 00:00:00 2001 From: Fabio Alemagna <507164+falemagn@users.noreply.github.com> Date: Fri, 14 Apr 2023 19:06:18 +0200 Subject: [PATCH] Increase buffer size to accomodate for big RSA keys --- src/internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index 54c96908..b4e5be85 100644 --- a/src/internal.c +++ b/src/internal.c @@ -8338,10 +8338,10 @@ struct wolfSSH_sigKeyBlockFull { #ifndef WOLFSSH_NO_RSA struct { RsaKey key; - byte e[257]; + byte e[1025]; word32 eSz; byte ePad; - byte n[257]; + byte n[1025]; word32 nSz; byte nPad; } rsa;