Return the digest method associated with ctx, transferring a reference to the caller.

Synopsis

Declared in <openssl/evp.h>

EVP_MD*
EVP_MD_CTX_get1_md(EVP_MD_CTX* ctx);

Return Value

EVP_MD with an incremented reference count (free with EVP_MD_free), or NULL if unset.

Parameters

Name

Description

ctx

Digest context to query.

Created with MrDocs