Skip to content

Lightpanda: the headless browser designed for AI and automation

`Network`: mark `createX509Store` as `pub`

Halil Durakcf00ef100c32
diff --git a/src/network/Network.zig b/src/network/Network.zig
index 842ef9113..3b5d27b90 100644
--- a/src/network/Network.zig
+++ b/src/network/Network.zig
@@ -724,7 +724,7 @@ const CreateX509StoreError = std.crypto.Certificate.Bundle.RescanError || error{
/// NEVER give full ownership of store to `SSL_CTX`, always rely on ref counting.
/// Allocations made through passed `allocator` are freed before this function returns.
-fn createX509Store(allocator: Allocator) CreateX509StoreError!*crypto.X509_STORE {
+pub fn createX509Store(allocator: Allocator) CreateX509StoreError!*crypto.X509_STORE {
const store = crypto.X509_STORE_new() orelse return error.FailedToCreateX509Store;
errdefer crypto.X509_STORE_free(store);