OSSL_PARAM_set_ulong

Write val into parameter as an unsigned long (with range checks).

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_set_ulong(
    OSSL_PARAM* p,
    unsigned long val);

Return Value

1 on success, or 0 if is NULL, wrong type, or out of range.

Parameters

NameDescription
pDestination parameter located by key in an OSSL_PARAM array.
valValue to store.