OPENSSL_clear_free function

  1. @RecordUse.new()
  2. @Native<Void Function(Pointer<Void>, Size)>(ffi.Pointer<ffi.Void>, ffi.Size)>(symbol: 'bssl_dart_OPENSSL_clear_free')
void OPENSSL_clear_free(
  1. Pointer<Void> ptr,
  2. int len
)

OPENSSL_clear_free calls OPENSSL_free. BoringSSL automatically clears all allocations on free, but we define OPENSSL_clear_free for compatibility.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Size)>(
  symbol: 'bssl_dart_OPENSSL_clear_free',
)
external void OPENSSL_clear_free(
  ffi.Pointer<ffi.Void> ptr,
  int len,
);