X509_LOOKUP_load_file function
X509_LOOKUP_load_file calls X509_load_cert_crl_file. lookup must have
been constructed with X509_LOOKUP_file.
If type is X509_FILETYPE_DEFAULT, it ignores file and instead uses some
default system path with X509_FILETYPE_PEM. See also
X509_STORE_set_default_paths.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(ffi.Pointer<X509_LOOKUP>, ffi.Pointer<ffi.Char>, ffi.Int)
>(symbol: 'bssl_dart_X509_LOOKUP_load_file')
external int X509_LOOKUP_load_file(
ffi.Pointer<X509_LOOKUP> lookup,
ffi.Pointer<ffi.Char> file,
int type,
);