OSSL_PARAM_set_long

Write val into parameter as a signed long (with range checks).

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_set_long(
    OSSL_PARAM* p,
    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.