[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Matt Caswell matt at openssl.org
Fri Mar 10 16:24:46 UTC 2017


The branch OpenSSL_1_0_2-stable has been updated
       via  366a997f89f18a40a30d20cd9e6db8ad01d2dd14 (commit)
      from  2566388c840a2cd2c242e9cf5793228f3bcd270b (commit)


- Log -----------------------------------------------------------------
commit 366a997f89f18a40a30d20cd9e6db8ad01d2dd14
Author: Matt Caswell <matt at openssl.org>
Date:   Fri Mar 10 15:49:04 2017 +0000

    Fix some RSA documentation
    
    RSA_private_encrypt(), RSA_public_decrypt(), RSA_public_encrypt() and
    RSA_private_decrypt() are declared with a "const" from parameter, but
    this is not reflected in the docs.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2899)
    (cherry picked from commit b41f6b64f809e5992b9f1b601b3dff1a2129da2d)

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

Summary of changes:
 doc/crypto/RSA_private_encrypt.pod | 4 ++--
 doc/crypto/RSA_public_encrypt.pod  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/crypto/RSA_private_encrypt.pod b/doc/crypto/RSA_private_encrypt.pod
index 746a80c..3e1f895 100644
--- a/doc/crypto/RSA_private_encrypt.pod
+++ b/doc/crypto/RSA_private_encrypt.pod
@@ -8,10 +8,10 @@ RSA_private_encrypt, RSA_public_decrypt - low level signature operations
 
  #include <openssl/rsa.h>
 
- int RSA_private_encrypt(int flen, unsigned char *from,
+ int RSA_private_encrypt(int flen, const unsigned char *from,
     unsigned char *to, RSA *rsa, int padding);
 
- int RSA_public_decrypt(int flen, unsigned char *from, 
+ int RSA_public_decrypt(int flen, const unsigned char *from,
     unsigned char *to, RSA *rsa, int padding);
 
 =head1 DESCRIPTION
diff --git a/doc/crypto/RSA_public_encrypt.pod b/doc/crypto/RSA_public_encrypt.pod
index ab0fe3b..0541f34 100644
--- a/doc/crypto/RSA_public_encrypt.pod
+++ b/doc/crypto/RSA_public_encrypt.pod
@@ -8,10 +8,10 @@ RSA_public_encrypt, RSA_private_decrypt - RSA public key cryptography
 
  #include <openssl/rsa.h>
 
- int RSA_public_encrypt(int flen, unsigned char *from,
+ int RSA_public_encrypt(int flen, const unsigned char *from,
     unsigned char *to, RSA *rsa, int padding);
 
- int RSA_private_decrypt(int flen, unsigned char *from,
+ int RSA_private_decrypt(int flen, const unsigned char *from,
      unsigned char *to, RSA *rsa, int padding);
 
 =head1 DESCRIPTION


More information about the openssl-commits mailing list