add CAChain type

master
nixo 3 years ago
parent b1f27b143e
commit 091fe1a3ac
  1. 2
      src/OpenSSL.jl
  2. 5
      src/types.jl

@ -7,7 +7,7 @@ const libssl = "/gnu/store/hcxpkksmbql6s4al8yy2myr25kh4cic0-openssl-1.1.1g/lib/l
include("consts.jl")
include("evp_md.jl")
include("types.jl")
export SSLContext, SSLClient
export SSLContext, SSLClient, CAChain
include("methods.jl")

@ -8,6 +8,11 @@ struct SSL_Context ptr end
ServerMode
end
struct CAChain
cert
key
end
mutable struct SSLContext <: IO
data::Vector{UInt8}
ptr::Ptr{SSL_Context}

Loading…
Cancel
Save