DSA_meth_set_paramgen

Set the parameter-generation callback on a custom DSA_METHOD (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
int
DSA_meth_set_paramgen(
    DSA_METHOD* dsam,
    int(* paramgen)(DSA*, int, unsigned char const*, int, int*, unsigned long*, BN_GENCB*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success.

Parameters

NameDescription
dsamMethod object to update.
paramgenCallback that generates DSA domain parameters, or NULL to clear.