Set the finish/cleanup callback on an RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_finish(
    RSA_METHOD* rsa,
    int(* finish)(RSA*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

rsa

Method table to update.

finish

Callback invoked when an RSA object using this method is freed, or NULL to clear.

Created with MrDocs