Return the NID of the MAC digest used by a cipher for record protection.
Declared in <openssl/ssl.h>
<openssl/ssl.h>
int SSL_CIPHER_get_digest_nid(SSL_CIPHER const* c);
Digest NID, or NID_undef when the suite has no MAC (for example AEAD suites).