EVP_ENCODE_CTX_copy

Copy a Base64 encode/decode context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_ENCODE_CTX_copy(
    EVP_ENCODE_CTX* dctx,
    EVP_ENCODE_CTX const* sctx);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
dctxDestination context (must already be allocated).
sctxSource context to copy from.