BN_bn2dec

Convert a BIGNUM to a newly allocated decimal string.

Synopsis

Declared in <openssl/bn.h>

char*
BN_bn2dec(BIGNUM const* a);

Return Value

Heap string (free with OPENSSL_free()), or NULL on failure.

Parameters

NameDescription
aValue to convert.