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

Name

Description

ctx

Decode context previously used with EVP_DecodeUpdate().

out

Buffer receiving final decoded bytes.

outl

Receives the number of bytes written to out.

Created with MrDocs