Subject: Re: no RSA with openssl on m68k systems with 1.5_ALPHA2?
To: None <itojun@iijlab.net>
From: Thorsten Frueauf <milano@zhadum.de>
List: current-users
Date: 10/04/2000 00:13:23
Hello,

> 	this is now beyond me... could you try run a gdb session on ssh,
> 	and see where it chokes?

I just got an idea while ktracing sshd:

[...]
 20825 sshd     CALL  open(0x409fb9a,0,0x1b6)
 20825 sshd     NAMI  "/dev/urandom"
 20825 sshd     RET   open -1 errno 6 Device not configured
 20825 sshd     CALL  getpid
 20825 sshd     RET   getpid 20825/0x5159
 20825 sshd     CALL  getpid
 20825 sshd     RET   getpid 20825/0x5159
 20825 sshd     CALL  write(0x2,0xffefdff0,0x34)
 20825 sshd     GIO   fd 2 wrote 52 bytes
       "no RSA support in libssl and libcrypto.  See ssl(8)
[...]

Is it possilbe that rsa support only works if "pseudo-device   rnd" is
compiled in the kernel?

At least I have it in my kernel on i386 and sparc where sshd works and don't
have it in the kernel for amiga and hp300 (its not activated in GENERIC there
either...). I will recompile a kernel with rnd and see if that fixes the
sshd daemon, but its already late and it will take some time on m68k, so
don't expect feedback that soon :)

Just an idea...
    Thorsten

PS: If thats the reason its still a question if thats a bug or a feature :)