doc: Fix description of EVP_CIPHER_CTX_dup
authorDaiki Ueno <dueno@redhat.com>
Mon, 13 May 2024 00:07:57 +0000 (09:07 +0900)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 May 2024 07:28:26 +0000 (09:28 +0200)
commit7860bca22c404cfd763ae2648d708d5cc4df6c2f
treef2dd16c18df0e9ed85f6c86c469e79aa25f4bd97
parentc02f952b48927af9fc4e991d7ead89a4cd1636bc
doc: Fix description of EVP_CIPHER_CTX_dup

This fixes a couple of copy and paste error from EVP_MD_CTX_dup,
where: EVP_CIPHER_CTX_dup is useful to avoid multiple
EVP_CIPHER_fetch (instead of EVP_MD_fetch) and returns
EVP_CIPHER_CTX (instead of EVP_MD_CTX).

Signed-off-by: Daiki Ueno <dueno@redhat.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24376)
doc/man3/EVP_EncryptInit.pod