[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Fri May 4 22:11:45 UTC 2018


The branch OpenSSL_1_1_0-stable has been updated
       via  96d0c1a32b777807452c324cdc1f36db01edf8a1 (commit)
      from  d067ba3bcc4944140578bdbf857affa6faf9e8c1 (commit)


- Log -----------------------------------------------------------------
commit 96d0c1a32b777807452c324cdc1f36db01edf8a1
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri May 4 19:45:52 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/6178)

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

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

diff --git a/doc/crypto/EVP_PKEY_CTX_set_hkdf_md.pod b/doc/crypto/EVP_PKEY_CTX_set_hkdf_md.pod
index 61e0eec..8cda107 100644
--- a/doc/crypto/EVP_PKEY_CTX_set_hkdf_md.pod
+++ b/doc/crypto/EVP_PKEY_CTX_set_hkdf_md.pod
@@ -59,7 +59,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 digest, key, salt and info values must be set before a key is derived or
 an error occurs.
diff --git a/doc/crypto/EVP_PKEY_CTX_set_tls1_prf_md.pod b/doc/crypto/EVP_PKEY_CTX_set_tls1_prf_md.pod
index f1f0ae4..8aa2152 100644
--- a/doc/crypto/EVP_PKEY_CTX_set_tls1_prf_md.pod
+++ b/doc/crypto/EVP_PKEY_CTX_set_tls1_prf_md.pod
@@ -50,7 +50,7 @@ All these functions are implemented as macros.
 
 A context for the TLS PRF can be obtained by calling:
 
- EVP_PKEY_CTX *pctx = EVP_PKEY_new_id(EVP_PKEY_TLS1_PRF, NULL);
+ EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_TLS1_PRF, NULL);
 
 The digest, secret value and seed must be set before a key is derived or an
 error occurs.


More information about the openssl-commits mailing list