std.crypto.Certificate: bump RSA needed memory

This commit is contained in:
Andrew Kelley 2022-12-30 20:05:17 -07:00
parent 0fb78b15aa
commit 66b07fd672

View File

@ -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();