The branch master has been updated
       via  c67a2f80ec933465c54138fe829433d535651349 (commit)
      from  4c78ba5918daf7965759a720687c58d2ebb0eb1f (commit)


- Log -----------------------------------------------------------------
commit c67a2f80ec933465c54138fe829433d535651349
Author: Johannes Bauer <j...@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 <ap...@openssl.org>
    Reviewed-by: Stephen Henson <st...@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 */
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to