summaryrefslogtreecommitdiffstats
path: root/doc/man3/SHA256_Init.pod
diff options
context:
space:
mode:
authorPW Hu <jlu.hpw@foxmail.com>2021-10-21 09:16:17 +0200
committerTomas Mraz <tomas@openssl.org>2021-10-25 10:49:04 +0200
commit7b2bde500dfdad6628b15c5faa641d0f6602110e (patch)
tree5bf664873c51b9f7a1a0005a4c1937cd5f717f07 /doc/man3/SHA256_Init.pod
parentOSSL_HTTP_transfer.pod: clarify that resulting BIO must be freed (diff)
downloadopenssl-7b2bde500dfdad6628b15c5faa641d0f6602110e.tar.xz
openssl-7b2bde500dfdad6628b15c5faa641d0f6602110e.zip
doc: Fix some function signature errors
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16874)
Diffstat (limited to 'doc/man3/SHA256_Init.pod')
-rw-r--r--doc/man3/SHA256_Init.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man3/SHA256_Init.pod b/doc/man3/SHA256_Init.pod
index 924f44fd10..22c72aa884 100644
--- a/doc/man3/SHA256_Init.pod
+++ b/doc/man3/SHA256_Init.pod
@@ -11,11 +11,11 @@ SHA512_Final - Secure Hash Algorithm
#include <openssl/sha.h>
- unsigned char *SHA1(const void *data, size_t count, unsigned char *md_buf);
- unsigned char *SHA224(const void *data, size_t count, unsigned char *md_buf);
- unsigned char *SHA256(const void *data, size_t count, unsigned char *md_buf);
- unsigned char *SHA384(const void *data, size_t count, unsigned char *md_buf);
- unsigned char *SHA512(const void *data, size_t count, unsigned char *md_buf);
+ unsigned char *SHA1(const unsigned char *data, size_t count, unsigned char *md_buf);
+ unsigned char *SHA224(const unsigned char *data, size_t count, unsigned char *md_buf);
+ unsigned char *SHA256(const unsigned char *data, size_t count, unsigned char *md_buf);
+ unsigned char *SHA384(const unsigned char *data, size_t count, unsigned char *md_buf);
+ unsigned char *SHA512(const unsigned char *data, size_t count, unsigned char *md_buf);
Deprecated since OpenSSL 3.0, can be hidden entirely by defining
B<OPENSSL_API_COMPAT> with a suitable version value, see