DOC: fix documentation of som EVP_MD_CTX functions
authorRichard Levitte <levitte@openssl.org>
Tue, 24 Sep 2019 11:22:13 +0000 (13:22 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 24 Sep 2019 11:25:27 +0000 (13:25 +0200)
They were documented to take an EVP_MD pointer, when they really take
an EVP_MD_CTX pointer.

Fixes #9993

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9997)

doc/man3/EVP_DigestInit.pod

index 3e3e342297634794c85eebca3d8384ceed80a71f..a24d7bf0c7dda9a08588888139c61b4cb31f1176 100644 (file)
@@ -44,9 +44,9 @@ EVP_MD_CTX_set_pkey_ctx - EVP digest routines
  int EVP_MD_block_size(const EVP_MD *md);
 
  const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
- int EVP_MD_CTX_size(const EVP_MD *ctx);
- int EVP_MD_CTX_block_size(const EVP_MD *ctx);
- int EVP_MD_CTX_type(const EVP_MD *ctx);
+ int EVP_MD_CTX_size(const EVP_MD_CTX *ctx);
+ int EVP_MD_CTX_block_size(const EVP_MD_CTX *ctx);
+ int EVP_MD_CTX_type(const EVP_MD_CTX *ctx);
  void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
 
  const EVP_MD *EVP_md_null(void);