EVP_DecodeFinal

Finish a Base64 decode, flushing any remaining decoded bytes.

Synopsis

Declared in <openssl/evp.h>

int
EVP_DecodeFinal(
    EVP_ENCODE_CTX* ctx,
    unsigned char* out,
    int* outl);

Return Value

1 on success, or a negative value on decode error.

Parameters

NameDescription
ctxDecode context previously used with EVP_DecodeUpdate().
outBuffer receiving final decoded bytes.
outlReceives the number of bytes written to out.