OSSL_PARAM_get_ulong

Read an unsigned long integer from an OSSL_PARAM.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_get_ulong(
    OSSL_PARAM const* p,
    unsigned long* val);

Return Value

1 on success, or 0 on type/range error.

Parameters

NameDescription
pParameter of an integer type that can hold the value.
valReceives the converted value on success.