[openssl] OpenSSL_1_1_1-stable update

patrick.steuer at de.ibm.com patrick.steuer at de.ibm.com
Thu May 28 18:54:02 UTC 2020


The branch OpenSSL_1_1_1-stable has been updated
       via  3c09a5b0ba78a15311252ab8b7fb3ce16e7109ca (commit)
      from  53eb05bdf00d7237e3b12976c2ac38d68206eb13 (commit)


- Log -----------------------------------------------------------------
commit 3c09a5b0ba78a15311252ab8b7fb3ce16e7109ca
Author: Patrick Steuer <patrick.steuer at de.ibm.com>
Date:   Wed May 27 16:32:43 2020 +0200

    EVP_EncryptInit.pod: fix example
    
    Signed-off-by: Patrick Steuer <patrick.steuer at de.ibm.com>
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/11976)
    
    (cherry picked from commit d561b84143f5e7956454090e15de0c5e1425ceac)

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

Summary of changes:
 doc/man3/EVP_EncryptInit.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/man3/EVP_EncryptInit.pod b/doc/man3/EVP_EncryptInit.pod
index aaf9975c4c..2828bca2f8 100644
--- a/doc/man3/EVP_EncryptInit.pod
+++ b/doc/man3/EVP_EncryptInit.pod
@@ -591,7 +591,7 @@ with a 128-bit key:
 
      /* Don't set key or IV right away; we want to check lengths */
      ctx = EVP_CIPHER_CTX_new();
-     EVP_CipherInit_ex(&ctx, EVP_aes_128_cbc(), NULL, NULL, NULL,
+     EVP_CipherInit_ex(ctx, EVP_aes_128_cbc(), NULL, NULL, NULL,
                        do_encrypt);
      OPENSSL_assert(EVP_CIPHER_CTX_key_length(ctx) == 16);
      OPENSSL_assert(EVP_CIPHER_CTX_iv_length(ctx) == 16);


More information about the openssl-commits mailing list