]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add EVP_PKEY_supports_digest_nid()
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 22 Oct 2018 17:49:54 +0000 (18:49 +0100)
committerNicola Tuveri <nic.tuv@gmail.com>
Sat, 10 Nov 2018 01:23:14 +0000 (03:23 +0200)
commitecbb2fca9301ef22b15beb30c4c0303b29846935
tree28568a5d29802e457a3ca4285f5945ed2508069a
parent2d263a4a73f852005b16359873475d48755999ad
Add EVP_PKEY_supports_digest_nid()

Rather than relying only on mandatory default digests, add a way for
the EVP_PKEY to individually report whether each digest algorithm is
supported.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7408)
crypto/evp/p_lib.c
doc/man3/EVP_PKEY_ASN1_METHOD.pod
doc/man3/EVP_PKEY_get_default_digest_nid.pod
doc/man3/EVP_PKEY_supports_digest_nid.pod [new file with mode: 0644]
include/openssl/evp.h
ssl/t1_lib.c
util/libcrypto.num