[openssl] OpenSSL_1_1_1-stable update

Matt Caswell matt at openssl.org
Tue Jun 11 08:54:57 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  7f54244863fc3449c8ceb0469e017642b57809ff (commit)
      from  2ec8ad1bd8b1ae7a61ae8fe46a5633a1b50c0049 (commit)


- Log -----------------------------------------------------------------
commit 7f54244863fc3449c8ceb0469e017642b57809ff
Author: Shigeki Ohtsu <ohtsu at ohtsu.org>
Date:   Fri Jun 7 11:49:48 2019 +0900

    Fix doc to remove const arg in GEN_SESSION_CB
    
    ae3947de095 changed the callback arg not to have a const parameter.
    
    CLA: trivial
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/9104)
    
    (cherry picked from commit 7588660a534a9f154e1e25aa763964d507af8aab)

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

Summary of changes:
 doc/man3/SSL_CTX_set_generate_session_id.pod | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/man3/SSL_CTX_set_generate_session_id.pod b/doc/man3/SSL_CTX_set_generate_session_id.pod
index dab5637..1735c62 100644
--- a/doc/man3/SSL_CTX_set_generate_session_id.pod
+++ b/doc/man3/SSL_CTX_set_generate_session_id.pod
@@ -10,7 +10,7 @@ SSL_has_matching_session_id, GEN_SESSION_CB
 
  #include <openssl/ssl.h>
 
- typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id,
+ typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,
                                unsigned int *id_len);
 
  int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);
@@ -98,7 +98,7 @@ server id given, and will fill the rest with pseudo random bytes:
  const char session_id_prefix = "www-18";
 
  #define MAX_SESSION_ID_ATTEMPTS 10
- static int generate_session_id(const SSL *ssl, unsigned char *id,
+ static int generate_session_id(SSL *ssl, unsigned char *id,
                                 unsigned int *id_len)
  {
      unsigned int count = 0;


More information about the openssl-commits mailing list