Commit 00df8947 authored by Nils Larsch's avatar Nils Larsch
Browse files

the pointer to the message digest is const

parent 630e4a6e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -8,10 +8,10 @@ RSA_sign, RSA_verify - RSA signatures


 #include <openssl/rsa.h>
 #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);
    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);
    unsigned char *sigbuf, unsigned int siglen, RSA *rsa);


=head1 DESCRIPTION
=head1 DESCRIPTION