// NewCertStore creates a new certificate store from // a disk directory, loading and indexing all certificates. func NewCertStore(location string) *CertStore { cLocation := C.CString(location) defer C.free(unsafe.Pointer(cLocation)) return &CertStore{ zcertstoreT: C.zcertstore_new(cLocation), } }
// NewCertStore creates a new certificate store from // a disk directory, loading and indexing all certificates. func NewCertStore(location string) *CertStore { return &CertStore{ zcertstoreT: C.zcertstore_new(C.CString(location)), } }