[openssl] master update

Richard Levitte levitte at openssl.org
Wed Nov 18 16:14:46 UTC 2020


The branch master has been updated
       via  3800cc6f4d285699210da496a42434bd2b42e065 (commit)
      from  f1d6670840b08104646713f464a6ef42e2cf1c2a (commit)


- Log -----------------------------------------------------------------
commit 3800cc6f4d285699210da496a42434bd2b42e065
Author: Richard Levitte <levitte at openssl.org>
Date:   Tue Nov 17 09:55:49 2020 +0100

    DOC: Fix example in OSSL_PARAM_int.pod
    
    This fixes an incorrect NULL check.
    
    Fixes #11162
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/13426)

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

Summary of changes:
 doc/man3/OSSL_PARAM_int.pod | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/man3/OSSL_PARAM_int.pod b/doc/man3/OSSL_PARAM_int.pod
index 691bc3b340..3d124d7442 100644
--- a/doc/man3/OSSL_PARAM_int.pod
+++ b/doc/man3/OSSL_PARAM_int.pod
@@ -362,11 +362,11 @@ could fill in the parameters like this:
 
     OSSL_PARAM *p;
 
-    if ((p = OSSL_PARAM_locate(params, "foo")) == NULL)
+    if ((p = OSSL_PARAM_locate(params, "foo")) != NULL)
         OSSL_PARAM_set_utf8_ptr(p, "foo value");
-    if ((p = OSSL_PARAM_locate(params, "bar")) == NULL)
+    if ((p = OSSL_PARAM_locate(params, "bar")) != NULL)
         OSSL_PARAM_set_utf8_ptr(p, "bar value");
-    if ((p = OSSL_PARAM_locate(params, "cookie")) == NULL)
+    if ((p = OSSL_PARAM_locate(params, "cookie")) != NULL)
         OSSL_PARAM_set_utf8_ptr(p, "cookie value");
 
 =head1 SEE ALSO


More information about the openssl-commits mailing list