]> git.ipfire.org Git - thirdparty/openssl.git/commit
OBJ_nid2sn(NID_sha256) is completely equivalent to OSSL_DIGEST_NAME_SHA2_256
authorTomas Mraz <tomas@openssl.org>
Fri, 26 Mar 2021 16:50:03 +0000 (17:50 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 1 Apr 2021 12:39:53 +0000 (14:39 +0200)
commite2e20129a9b9f898d382d199f9debdb549b882ff
tree95db3f7a870cd05a0241fcf6119c7bc48b66ca3e
parent0a4a48a8b4eecc16a5c024492de09483370a7d5d
OBJ_nid2sn(NID_sha256) is completely equivalent to OSSL_DIGEST_NAME_SHA2_256

The comment is bogus as that call for NID_sha256 does not do
anything else than looking up the string in an internal table.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14703)
ssl/s3_lib.c