Re: rsa_locl.h
Bodo Moeller wrote: Makes sense. I'll put this into the CVS (applicable to the 0.9.9-dev branch only, if anyone is wondering -- i.e., this mismatch isn't in any of the releases). The change is in the CVS, but it's still not in the snapshot at: ftp://ftp.openssl.org/snapshot/openssl-SNAP-20060911.tar.gz Isn't that .tar.gz file a snapshot of the CVS? --gv __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: [patch] rsa_locl.h
On Thu, Sep 07, 2006 at 03:06:47PM +0200, Gisle Vanem wrote: 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); Makes sense. I'll put this into the CVS (applicable to the 0.9.9-dev branch only, if anyone is wondering -- i.e., this mismatch isn't in any of the releases). __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
[patch] rsa_locl.h
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 openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]