X509_VERIFY_PARAM_inherit function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509_VERIFY_PARAM>, Pointer<X509_VERIFY_PARAM>)>(ffi.Pointer<X509_VERIFY_PARAM>, ffi.Pointer<X509_VERIFY_PARAM>)>(symbol: 'bssl_dart_X509_VERIFY_PARAM_inherit')
int X509_VERIFY_PARAM_inherit(
  1. Pointer<X509_VERIFY_PARAM> to,
  2. Pointer<X509_VERIFY_PARAM> from
)

X509_VERIFY_PARAM_inherit applies from as the default values for to. That is, for each parameter that is unset in to, it copies the value in from. This function returns one on success and zero on error.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<X509_VERIFY_PARAM>,
    ffi.Pointer<X509_VERIFY_PARAM>,
  )
>(symbol: 'bssl_dart_X509_VERIFY_PARAM_inherit')
external int X509_VERIFY_PARAM_inherit(
  ffi.Pointer<X509_VERIFY_PARAM> to,
  ffi.Pointer<X509_VERIFY_PARAM> from,
);