Make int_rsa_sign function match prototype.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 21 Sep 2006 13:11:24 +0000 (13:11 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 21 Sep 2006 13:11:24 +0000 (13:11 +0000)
PR: 1383

crypto/rsa/rsa_sign.c

index e1b1714210f122d2fc9d84a3daa00d2d80721cce..1878ffe1eda0c5be413b2d7fb0c1cc42bb2ca438 100644 (file)
@@ -145,8 +145,8 @@ int RSA_sign(int type, const unsigned char *m, unsigned int m_len,
 
 int int_rsa_verify(int dtype, const unsigned char *m,
                          unsigned int m_len,
-                         unsigned char *rm, unsigned int *prm_len,
-                         const unsigned char *sigbuf, unsigned int siglen,
+                         unsigned char *rm, size_t *prm_len,
+                         const unsigned char *sigbuf, size_t siglen,
                          RSA *rsa)
        {
        int i,ret=0,sigtype;