[openssl-commits] [openssl] master update
Andy Polyakov
appro at openssl.org
Sat Aug 5 18:10:39 UTC 2017
The branch master has been updated
via c67a2f80ec933465c54138fe829433d535651349 (commit)
from 4c78ba5918daf7965759a720687c58d2ebb0eb1f (commit)
- Log -----------------------------------------------------------------
commit c67a2f80ec933465c54138fe829433d535651349
Author: Johannes Bauer <joe at johannes-bauer.com>
Date: Thu Aug 3 21:07:21 2017 +0200
Fix typo in HKDF example documentation
Out-of-bounds array access in the example documentation of
EVP_PKEY_CTX_set_hkdf_md fixed.
Reviewed-by: Andy Polyakov <appro at openssl.org>
Reviewed-by: Stephen Henson <steve at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4081)
-----------------------------------------------------------------------
Summary of changes:
doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod b/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod
index 12843d0..333b8da 100644
--- a/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod
+++ b/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod
@@ -139,7 +139,7 @@ salt value "salt" and info value "label":
/* Error */
if (EVP_PKEY_CTX_set1_hkdf_key(pctx, "secret", 6) <= 0)
/* Error */
- if (EVP_PKEY_CTX_add1_hkdf_info(pctx, "label", 6) <= 0)
+ if (EVP_PKEY_CTX_add1_hkdf_info(pctx, "label", 5) <= 0)
/* Error */
if (EVP_PKEY_derive(pctx, out, &outlen) <= 0)
/* Error */
More information about the openssl-commits
mailing list