From 3b30121bd989bc79b8cb4a5440f55acf7442b3d2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 5 May 2003 13:55:18 +0000 Subject: Constify RSA_sign() and RSA_verify(). PR: 602 --- crypto/rsa/rsa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/rsa/rsa.h') diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 12689fc22d..84cc779d1c 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -252,9 +252,9 @@ RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb)( /* The following 2 functions sign and verify a X509_SIG ASN1 object * inside PKCS#1 padded RSA encryption */ int RSA_sign(int type, const unsigned char *m, unsigned int m_length, - unsigned char *sigret, unsigned int *siglen, RSA *rsa); + unsigned char *sigret, unsigned int *siglen, const RSA *rsa); int RSA_verify(int type, const unsigned char *m, unsigned int m_length, - unsigned char *sigbuf, unsigned int siglen, RSA *rsa); + unsigned char *sigbuf, unsigned int siglen, const RSA *rsa); /* The following 2 function sign and verify a ASN1_OCTET_STRING * object inside PKCS#1 padded RSA encryption */ -- cgit v1.2.3