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

Name

Description

p

Destination parameter located by key in an OSSL_PARAM array.

val

Value to store.

Created with MrDocs