mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
15 lines
419 B
Zig
15 lines
419 B
Zig
const CertificateInfo = @This();
|
|
|
|
cert: []const u8,
|
|
cert_error: HTTPCertError,
|
|
hostname: []const u8,
|
|
pub fn deinit(this: *const CertificateInfo, allocator: std.mem.Allocator) void {
|
|
allocator.free(this.cert);
|
|
allocator.free(this.cert_error.code);
|
|
allocator.free(this.cert_error.reason);
|
|
allocator.free(this.hostname);
|
|
}
|
|
|
|
const HTTPCertError = @import("./HTTPCertError.zig");
|
|
const std = @import("std");
|