mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
the pointer to the message digest is const
This commit is contained in:
parent
630e4a6e59
commit
00df894701
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user