diff --git a/lib/std/crypto/tls/Client.zig b/lib/std/crypto/tls/Client.zig index 922f7b66cc..bbee90275f 100644 --- a/lib/std/crypto/tls/Client.zig +++ b/lib/std/crypto/tls/Client.zig @@ -1840,7 +1840,7 @@ const CertificatePublicKey = struct { const exponent = components.exponent; const modulus = components.modulus; switch (modulus.len) { - inline 128, 256, 512 => |modulus_len| { + inline 128, 256, 384, 512 => |modulus_len| { const key: PublicKey = try .fromBytes(exponent, modulus); const sig = RsaSignature.fromBytes(modulus_len, encoded_sig); try RsaSignature.concatVerify(modulus_len, sig, msg, key, Hash);