X509_STORE_CTX_cleanup function
- @RecordUse.new()
- @Native<Void Function(Pointer<
X509_STORE_CTX> )>(ffi.Pointer<X509_STORE_CTX>)>(symbol: 'bssl_dart_X509_STORE_CTX_cleanup')
- Pointer<
X509_STORE_CTX> ctx
X509_STORE_CTX_cleanup resets |ctx| to the empty state.
This function is a remnant of when |X509_STORE_CTX| was stack-allocated and should not be used. If releasing |ctx|, call |X509_STORE_CTX_free|. If reusing |ctx| for a new verification, release the old one and create a new one.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Void Function(ffi.Pointer<X509_STORE_CTX>)>(
symbol: 'bssl_dart_X509_STORE_CTX_cleanup',
)
external void X509_STORE_CTX_cleanup(
ffi.Pointer<X509_STORE_CTX> ctx,
);