commit 66b07fd67215f2cccf126f271defc5e028227d7e (tree)
parent 0fb78b15aad74498d7f36785d5618edca7e83508
Author: Andrew Kelley <andrew@ziglang.org>
Date: Fri, 30 Dec 2022 20:05:17 -0700
std.crypto.Certificate: bump RSA needed memory
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/crypto/Certificate.zig b/lib/std/crypto/Certificate.zig
@@ -504,7 +504,7 @@ fn verifyRsa(
var msg_hashed: [Hash.digest_length]u8 = undefined;
Hash.hash(message, &msg_hashed, .{});
- var rsa_mem_buf: [512 * 32]u8 = undefined;
+ var rsa_mem_buf: [512 * 64]u8 = undefined;
var fba = std.heap.FixedBufferAllocator.init(&rsa_mem_buf);
const ally = fba.allocator();