commit eec244c5a2ea391d62164c657086472208118672 (tree)
parent 589bcb2544fed9a3454908adba4a2f97f1405e9c
Author: akhildevelops <akhildevelops@noreply.codeberg.org>
Date: Wed, 25 Mar 2026 00:56:22 +0100
std.crypto.tls.Client: expose InitError (#31610)
Fixes: https://codeberg.org/ziglang/zig/issues/31581
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31610
Co-authored-by: akhildevelops <akhildevelops@noreply.codeberg.org>
Co-committed-by: akhildevelops <akhildevelops@noreply.codeberg.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/crypto/tls/Client.zig b/lib/std/crypto/tls/Client.zig
@@ -139,7 +139,7 @@ pub const Options = struct {
pub const entropy_len = 240;
};
-const InitError = error{
+pub const InitError = error{
InsufficientEntropy,
DiskQuota,
LockViolation,