BN_copy

Copy BIGNUM b into a, resizing a as needed.

Synopsis

Declared in <openssl/bn.h>

BIGNUM*
BN_copy(
    BIGNUM* a,
    BIGNUM const* b);

Return Value

a on success, or NULL on allocation failure.

Parameters

NameDescription
aDestination (must be non-NULL).
bSource value.