OSSL_PARAM_get_double

Read a floating-point value from an OSSL_PARAM into val.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_get_double(
    OSSL_PARAM const* p,
    double* val);

Return Value

1 on success, or 0 on type/size mismatch or other failure.

Parameters

NameDescription
pParameter of floating-point type to read.
valReceives the converted double value on success.