summaryrefslogtreecommitdiffstats
path: root/doc/man7/crypto.pod
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man7/crypto.pod')
-rw-r--r--doc/man7/crypto.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man7/crypto.pod b/doc/man7/crypto.pod
index b45404cce0..78fb8f8f37 100644
--- a/doc/man7/crypto.pod
+++ b/doc/man7/crypto.pod
@@ -390,7 +390,7 @@ encryption/decryption, signatures, message authentication codes, etc.
goto err;
/* Allocate the output buffer */
- outdigest = OPENSSL_malloc(EVP_MD_size(sha256));
+ outdigest = OPENSSL_malloc(EVP_MD_get_size(sha256));
if (outdigest == NULL)
goto err;