crypto/rsa/rsa_locl.h wrongly uses 'size_t' in some arguments. It should match the implementation in crypto/rsa/rsa_sign.c (what happened to this file?). A patch:

--- orig/crypto/rsa/rsa_locl.h       2006-08-28 19:01:02 +0200
+++ crypto/rsa/rsa_locl.h     2006-08-29 15:30:50 +0200
@@ -1,4 +1,4 @@
-extern int int_rsa_verify(int dtype, const unsigned char *m, size_t m_len,
-               unsigned char *rm, size_t *prm_len,
-               const unsigned char *sigbuf, size_t siglen,
+extern 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,
               RSA *rsa);


--gv
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to