Return the digest method associated with ctx, transferring a reference to the caller.
ctx,
Declared in <openssl/evp.h>
<openssl/evp.h>
EVP_MD* EVP_MD_CTX_get1_md(EVP_MD_CTX* ctx);
EVP_MD with an incremented reference count (free with EVP_MD_free), or NULL if unset.