Store a signed int into an OSSL_PARAM integer buffer.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_set_int(
    OSSL_PARAM* p,
    int val);

Return Value

1 on success, or 0 if the buffer is too small or of the wrong type.

Parameters

Name

Description

p

Parameter whose buffer receives val.

val

Value to write.

Created with MrDocs