Network: mark createX509Store as pub

This commit is contained in:
Halil Durak committed 2026-07-08 13:00:30 +03:00
1 parent 8673fbb489
commit cf00ef100c
1 file changed
+1 -1
+1 -1
View File
@@ -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);