[openssl] master update

patrick.steuer at de.ibm.com patrick.steuer at de.ibm.com
Thu May 28 18:50:22 UTC 2020


The branch master has been updated
       via  d561b84143f5e7956454090e15de0c5e1425ceac (commit)
      from  9c44916ce555a0280170c5fc519a0ebf693292f8 (commit)


- Log -----------------------------------------------------------------
commit d561b84143f5e7956454090e15de0c5e1425ceac
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)

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

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 ad4297df13..88d0e7dabc 100644
--- a/doc/man3/EVP_EncryptInit.pod
+++ b/doc/man3/EVP_EncryptInit.pod
@@ -770,7 +770,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