[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Fri May 4 17:52:07 UTC 2018


The branch master has been updated
       via  c16ab9dc6303e42519559f6053bf7e4931203a79 (commit)
      from  bc624bd95554ea218cbc3fad0d794abdfeb21eb6 (commit)


- Log -----------------------------------------------------------------
commit c16ab9dc6303e42519559f6053bf7e4931203a79
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri May 4 19:41:53 2018 +0200

    docs: Fix typo EVP_PKEY_new_id -> EVP_PKEY_CTX_new_id
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/6177)

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod | 2 +-
 doc/man7/scrypt.pod                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod b/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod
index 333b8da..18c27a3 100644
--- a/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod
+++ b/doc/man3/EVP_PKEY_CTX_set_hkdf_md.pod
@@ -99,7 +99,7 @@ All these functions are implemented as macros.
 
 A context for HKDF can be obtained by calling:
 
- EVP_PKEY_CTX *pctx = EVP_PKEY_new_id(EVP_PKEY_HKDF, NULL);
+ EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_HKDF, NULL);
 
 The total length of the info buffer cannot exceed 1024 bytes in length: this
 should be more than enough for any normal use of HKDF.
diff --git a/doc/man7/scrypt.pod b/doc/man7/scrypt.pod
index aabb6c9..94ff3ab 100644
--- a/doc/man7/scrypt.pod
+++ b/doc/man7/scrypt.pod
@@ -33,7 +33,7 @@ may be used by scrypt defaults to 1025 MiB.
 
 A context for scrypt can be obtained by calling:
 
- EVP_PKEY_CTX *pctx = EVP_PKEY_new_id(EVP_PKEY_SCRYPT, NULL);
+ EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SCRYPT, NULL);
 
 The output length of an scrypt key derivation is specified via the
 length parameter to the L<EVP_PKEY_derive(3)> function.


More information about the openssl-commits mailing list