the pointer to the message digest is const
authorNils Larsch <nils@openssl.org>
Thu, 21 Apr 2005 09:43:09 +0000 (09:43 +0000)
committerNils Larsch <nils@openssl.org>
Thu, 21 Apr 2005 09:43:09 +0000 (09:43 +0000)
doc/crypto/RSA_sign.pod

index 71688a665e13aa746517a49fc579d5325266e91b..8553be8e99b611e754e9677da1cdad3d2f4afdc7 100644 (file)
@@ -8,10 +8,10 @@ RSA_sign, RSA_verify - RSA signatures
 
  #include <openssl/rsa.h>
 
- int RSA_sign(int type, unsigned char *m, unsigned int m_len,
+ int RSA_sign(int type, const unsigned char *m, unsigned int m_len,
     unsigned char *sigret, unsigned int *siglen, RSA *rsa);
 
- int RSA_verify(int type, unsigned char *m, unsigned int m_len,
+ int RSA_verify(int type, const unsigned char *m, unsigned int m_len,
     unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
 
 =head1 DESCRIPTION