Comment which will be proven irrelevant, but anyway. It's misconception 
that you need to be root to test alternative gcc version. Download gcc 
tar-ball, configure with writable --prefix, e.g. subdirectory in your 
home directory, build, make install, adjust $PATH to point to the 
writable subdirectory and you're set.

> Well, it would seem very like a compiler bug, but here we have a
> different platform and a different gcc version - it is now 3.3.2
> vs. 3.4.4 on FreeBSD.

Yeah. And I even managed to reproduce it on solaris64-sparcv9-cc. So 
it's our bug, not compiler. Verify below patch. Why I commented on gcc 
and being root thing? Well, for future reference. If you run into 
compiler bug, you can't expect us to test several compilers. You should 
be prepared to do that without false excuses:-) A.

--- crypto/pkcs7/pk7_doit.c     10 Jul 2006 18:36:53 -0000      1.72
+++ crypto/pkcs7/pk7_doit.c     20 Jul 2006 15:19:58 -0000
@@ -829,7 +829,7 @@
         EVP_PKEY_CTX *pctx;
         unsigned char *abuf = NULL;
         int alen;
-       unsigned int siglen;
+       size_t siglen;
         const EVP_MD *md = NULL;

         md = EVP_get_digestbyobj(si->digest_alg->algorithm);

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

Reply via email to