mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-08-02 02:36:06 -04:00
Network: mark createX509Store as pub
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user