Retrieve the message digest currently configured for signing or verifying with ctx.
Declared in <openssl/evp.h>
int
EVP_PKEY_CTX_get_signature_md(
EVP_PKEY_CTX* ctx,
EVP_MD const** md);
1 on success, or a non-positive value on error.
| Name | Description |
|---|---|
| ctx | Key context configured for a signature operation. |
| md | Set to the digest algorithm previously set with EVP_PKEY_CTX_set_signature_md(), or NULL if unset. |