Network: mark createX509Store as pub

This commit is contained in:
Halil Durak
2026-07-03 12:44:34 +03:00
parent 8673fbb489
commit cf00ef100c

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