示例#1
0
文件: context.go 项目: postfix/go-ssl
func (self *Context) SetCertStore(store *X509Store) {
	C.SSL_CTX_set_cert_store(self.Ctx, store.Store)
}
示例#2
0
文件: context.go 项目: runcom/gossl
func (self *Context) SetCertStore(store *x509.X509Store) {
	C.SSL_CTX_set_cert_store(self.Ctx, (*C.X509_STORE)(unsafe.Pointer(store.Store)))
}