[openssl] OpenSSL_1_1_1-stable update

Kurt Roeckx kurt at openssl.org
Mon Sep 21 14:56:45 UTC 2020


The branch OpenSSL_1_1_1-stable has been updated
       via  256989ce442c19151ae2b79b8d137c364e8479f2 (commit)
      from  56e8fe0b4efbf582e40ae91319727c9d176c5e1e (commit)


- Log -----------------------------------------------------------------
commit 256989ce442c19151ae2b79b8d137c364e8479f2
Author: olszomal <Malgorzata.Olszowka at stunnel.org>
Date:   Fri Jun 19 15:00:32 2020 +0200

    Add const to 'ppin' function parameter
    
    CLA: trivial
    
    Reviewed-by: Kurt Roeckx <kurt at roeckx.be>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    GH: #12205
    (cherry picked from commit 434343f896a2bb3e5857cc9831c38f8cd1cceec1)

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

Summary of changes:
 doc/man3/d2i_DHparams.pod | 2 +-
 doc/man3/d2i_X509.pod     | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/doc/man3/d2i_DHparams.pod b/doc/man3/d2i_DHparams.pod
index d4e34fe877..befcafa8a1 100644
--- a/doc/man3/d2i_DHparams.pod
+++ b/doc/man3/d2i_DHparams.pod
@@ -8,7 +8,7 @@ d2i_DHparams, i2d_DHparams - PKCS#3 DH parameter functions
 
  #include <openssl/dh.h>
 
- DH *d2i_DHparams(DH **a, unsigned char **pp, long length);
+ DH *d2i_DHparams(DH **a, const unsigned char **pp, long length);
  int i2d_DHparams(DH *a, unsigned char **pp);
 
 =head1 DESCRIPTION
diff --git a/doc/man3/d2i_X509.pod b/doc/man3/d2i_X509.pod
index 245df0c8d9..e42049d2ba 100644
--- a/doc/man3/d2i_X509.pod
+++ b/doc/man3/d2i_X509.pod
@@ -365,7 +365,7 @@ i2d_X509_VAL,
 
 =for comment generic
 
- TYPE *d2i_TYPE(TYPE **a, unsigned char **ppin, long length);
+ TYPE *d2i_TYPE(TYPE **a, const unsigned char **ppin, long length);
  TYPE *d2i_TYPE_bio(BIO *bp, TYPE **a);
  TYPE *d2i_TYPE_fp(FILE *fp, TYPE **a);
 
@@ -529,7 +529,8 @@ Allocate and encode the DER encoding of an X509 structure:
 Attempt to decode a buffer:
 
  X509 *x;
- unsigned char *buf, *p;
+ unsigned char *buf;
+ const unsigned char *p;
  int len;
 
  /* Set up buf and len to point to the input buffer. */
@@ -541,7 +542,8 @@ Attempt to decode a buffer:
 Alternative technique:
 
  X509 *x;
- unsigned char *buf, *p;
+ unsigned char *buf;
+ const unsigned char *p;
  int len;
 
  /* Set up buf and len to point to the input buffer. */


More information about the openssl-commits mailing list