The branch master has been updated
       via  b41f6b64f809e5992b9f1b601b3dff1a2129da2d (commit)
      from  42c28b637c5ac9a288a0a6bde8f32622ba60e0a1 (commit)


- Log -----------------------------------------------------------------
commit b41f6b64f809e5992b9f1b601b3dff1a2129da2d
Author: Matt Caswell <[email protected]>
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 <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/2899)

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

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

diff --git a/doc/man3/RSA_private_encrypt.pod b/doc/man3/RSA_private_encrypt.pod
index 7870371..1eb7a0a 100644
--- a/doc/man3/RSA_private_encrypt.pod
+++ b/doc/man3/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/man3/RSA_public_encrypt.pod b/doc/man3/RSA_public_encrypt.pod
index 6aa785d..182d2cf 100644
--- a/doc/man3/RSA_public_encrypt.pod
+++ b/doc/man3/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
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to