Correct the defined name of the parameter "micalg" in the documentation
authorBernd Ritter <ritter@b1-systems.de>
Sat, 17 Feb 2024 18:15:14 +0000 (19:15 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 20 Feb 2024 08:11:01 +0000 (09:11 +0100)
The EVP_DigestInit(3) manual page contains wrong name for the define
macro for the OSSL_DIGEST_PARAM_MICALG param.

Fixes #23580

CLA: trivial

Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23615)

(cherry picked from commit 5e5c256bbad572cf8d8d9ef9127722ca028d2704)

doc/man3/EVP_DigestInit.pod

index 11eef096c0fda64c7a3d8ff923dc95f07418e99d..05ca0723902d626a5c134e024b6e1f7669f7984f 100644 (file)
@@ -490,7 +490,7 @@ EVP_MD_CTX_get_params() can be used with the following OSSL_PARAM keys:
 
 =over 4
 
-=item "micalg" (B<OSSL_PARAM_DIGEST_KEY_MICALG>) <UTF8 string>.
+=item "micalg" (B<OSSL_DIGEST_PARAM_MICALG>) <UTF8 string>.
 
 Gets the digest Message Integrity Check algorithm string. This is used when
 creating S/MIME multipart/signed messages, as specified in RFC 3851.