issue with gcc version 3.0 20010418 (prerelease) on x86/redhat 6. 2 w/ openssl 0.9.6a

Neulinger, Nathan nneul@umr.edu
Fri Apr 27 11:39:00 GMT 2001


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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pem_lib.new.i.gz
Type: application/x-gzip
Size: 43908 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010427/257f6736/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pem_lib.new.s.gz
Type: application/x-gzip
Size: 8493 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010427/257f6736/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pem_lib.old.i.gz
Type: application/x-gzip
Size: 45521 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010427/257f6736/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pem_lib.old.s.gz
Type: application/x-gzip
Size: 8301 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010427/257f6736/attachment-0003.bin>


More information about the Gcc-bugs mailing list