GENERAL_NAME_get0_value function
GENERAL_NAME_get0_value returns the in-memory representation of gen's
contents and, out_type is not NULL, sets *out_type to the type of gen,
which will be a GEN_* constant. If gen is incomplete, the return value
will be NULL and the type will be -1.
WARNING: Casting the result of this function to the wrong type is a
potentially exploitable memory error. Callers must check gen's type, either
via *out_type or checking gen->type directly, before inspecting the
result.
WARNING: This function is not const-correct. The return value should be const. Callers should not mutate the returned object.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<ffi.Void> Function(
ffi.Pointer<GENERAL_NAME>,
ffi.Pointer<ffi.Int>,
)
>(symbol: 'bssl_dart_GENERAL_NAME_get0_value')
external ffi.Pointer<ffi.Void> GENERAL_NAME_get0_value(
ffi.Pointer<GENERAL_NAME> gen,
ffi.Pointer<ffi.Int> out_type,
);