Populate a BN_GENCB with a new‐style progress callback that returns success/failure.
Synopsis
Declared in <openssl/bn.h>
void
BN_GENCB_set(
BN_GENCB* gencb,
int(* callback)(int, int, BN_GENCB*),
void* cb_arg);
Parameters
Name |
Description |
gencb |
Callback object from BN_GENCB_new() (or a stack instance where supported). |
callback |
Callback receiving (event, progress, |
cb_arg |
Opaque pointer stored in |
Created with MrDocs