Skip to content

Commit

Permalink
fix for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
naoki9911 committed Dec 31, 2023
1 parent 0f1c747 commit cf1107a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub const RootCA = struct {
fn loadCAFilesMacOS(self: *Self) !void {
log.debug("Loading RootCA certificate", .{});

const result = try std.ChildProcess.exec(.{
const result = try std.ChildProcess.run(.{
.allocator = self.allocator,
.argv = &[_][]const u8{ "/usr/bin/security", "find-certificate", "-a", "-p", "/System/Library/Keychains/SystemRootCertificates.keychain" },
.max_output_bytes = 1000 * 1024,
Expand Down

0 comments on commit cf1107a

Please sign in to comment.