diff options
author | 2021-12-22 02:41:31 -0800 | |
---|---|---|
committer | 2021-12-22 02:41:31 -0800 | |
commit | 328534605f2c0620e7cc8370dc31d072f4633140 (patch) | |
tree | 388b621b3f5c465d98c08516b8279666e57c9c6e | |
parent | 5eb7383613be7ed616dc1e4200a929024a2f524e (diff) | |
download | bun-328534605f2c0620e7cc8370dc31d072f4633140.tar.gz bun-328534605f2c0620e7cc8370dc31d072f4633140.tar.zst bun-328534605f2c0620e7cc8370dc31d072f4633140.zip |
:scissors: :skull: code
-rw-r--r-- | src/deps/boringssl.zig | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/deps/boringssl.zig b/src/deps/boringssl.zig index 5d0fbfe3c..adc1b2401 100644 --- a/src/deps/boringssl.zig +++ b/src/deps/boringssl.zig @@ -28,20 +28,6 @@ pub fn initClient() *boring.SSL { return ssl; } -pub const ReadOnlyBio = struct { - bio: *boring.BIO, - - pub fn init(slice: []const u8) ReadOnlyBio { - var bio = boring.BIO_new_mem_buf(slice.ptr, @intCast(c_int, slice.len)); - BIO_set_mem_eof_return(bio, -1); - return ReadOnlyBio{ .bio = bio }; - } - - pub fn deinit(this: *ReadOnlyBio) void { - _ = boring.BIO_free(this.bio); - } -}; - test "load" { load(); } |