This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: issue with gcc version 3.0 20010418 (prerelease) on x86/redhat 6. 2 w/ openssl 0.9.6a
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Subject: RE: issue with gcc version 3.0 20010418 (prerelease) on x86/redhat 6. 2 w/ openssl 0.9.6a
- From: "Neulinger, Nathan" <nneul at umr dot edu>
- Date: Fri, 27 Apr 2001 13:38:06 -0500
crypto/pem/pem_lib.c
When compiled with snapshot, fails to read key. When compiled with old gcc,
it works fine.
If I build all of 0.9.6a with snapshot, and then adjust path and build
pem_lib.c with old gcc (either 2.91.66 or 2.96.20000727), it works.
I attached the relevant files. Hope this helps diagnostics. .old is from
2.91, .new is from 3.0 snapshot.
To reproduce:
openssl genrsa -des3 -out blah.key 1024
type any password
openssl rsa -in blah.key
if it works, it will prompt for password, if it fails, it will say unable to
load key.
I am not very familiar with the internals of openssl/etc, so really have no
idea what routine/etc. the problem might be in.
-- Nathan
> -----Original Message-----
> From: Alexandre Oliva [mailto:aoliva@redhat.com]
> Sent: Friday, April 27, 2001 12:34 PM
> To: Neulinger, Nathan
> Cc: 'gcc-bugs@gcc.gnu.org'
> Subject: Re: issue with gcc version 3.0 20010418 (prerelease) on
> x86/redhat 6. 2 w/ openssl 0.9.6a
>
>
> On Apr 27, 2001, "Neulinger, Nathan" <nneul@umr.edu> wrote:
>
> > When openssl 0.9.6a is built with this gcc, it is unable to
> read any rsa
> > keys. I don't really have any more details than that, but
> someone might want
> > to look into it.
>
> Could you do some more investigation, such as trying to find out which
> object file, when compiled with egcs 1.1.2, gets it to work (or, which
> one, when compiled with the development snapshot, gets it to break)?
>
> Thanks,
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
>
pem_lib.new.i.gz
pem_lib.new.s.gz
pem_lib.old.i.gz
pem_lib.old.s.gz