Mailing List Archive

rsaref usage
First, when I tried to start sshd, I got the message

Starting sshd: ssh-keygen: no RSA support in libssl and libcrypto.
See ssl(8).
sshd: no RSA support in libssl and libcrypto -- exiting. See ssl(8)
no RSA support in libssl and libcrypto -- exiting. See ssl(8)

So I thought I have to recompile openssl with rsaref flag to config.
When I did that, I got compilation error (this is version 0.9.5 of
openssl):

gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DRSAref
-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W
-DULTRASPARC -DMD5_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o
rsa.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o
speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o
sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o
-L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto
-L/space/local/lib
s_server.o: In function `sv_body':
s_server.o(.text+0x10a4): undefined reference to `shutdown'
s_server.o(.text+0x142c): undefined reference to `shutdown'
s_server.o: In function `close_accept_socket':
s_server.o(.text+0x24ec): undefined reference to `shutdown'
s_client.o: In function `s_client_main':
s_client.o(.text+0x940): undefined reference to `shutdown'
s_client.o(.text+0xa14): undefined reference to `shutdown'
s_client.o(.text+0x12a0): more undefined references to `shutdown'
follow
speed.o: In function `speed_main':
speed.o(.text+0x3ec): undefined reference to `RSA_PKCS1_RSAref'
s_time.o: In function `s_time_main':
s_time.o(.text+0x72c): undefined reference to `shutdown'
s_time.o(.text+0x98c): undefined reference to `shutdown'
s_time.o(.text+0xab0): undefined reference to `shutdown'
s_socket.o: In function `nbio_init_client_ip':
s_socket.o(.text+0x6c): undefined reference to `socket'
s_socket.o(.text+0xa4): undefined reference to `setsockopt'
s_socket.o(.text+0xf4): undefined reference to `connect'
s_socket.o: In function `init_server':

[...]

rand_egd.o(.text+0x78): undefined reference to `connect'
../libcrypto.a(err_all.o): In function `ERR_load_crypto_strings':
err_all.o(.text+0x40): undefined reference to
`ERR_load_RSAREF_strings'
*** Error code 1
make: Fatal error: Command failed for target `openssl'
Current working directory
/space/local/src/redhat/BUILD/openssl-0.9.5/apps
*** Error code 1
make: Fatal error: Command failed for target `all'

This is on Solaris 2.6. Can I compile openssl without rsaref, and
still use it with openssh?

Thx

Mate
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Re: rsaref usage [ In reply to ]
On Mon, 6 Mar 2000, Mate Wierdl wrote:

> First, when I tried to start sshd, I got the message
>
> Starting sshd: ssh-keygen: no RSA support in libssl and libcrypto.
> See ssl(8).

openssh-0.9.5 right?

I have a patch coming (probably tomorrow) which fixes this and other
problems.

-d

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)
Re: rsaref usage [ In reply to ]
On Tue, Mar 07, 2000 at 09:31:34PM +1100, Damien Miller wrote:
> On Mon, 6 Mar 2000, Mate Wierdl wrote:
>
> > First, when I tried to start sshd, I got the message
> >
> > Starting sshd: ssh-keygen: no RSA support in libssl and libcrypto.
> > See ssl(8).
>
> openssh-0.9.5 right?

Correct. Somebody told me I need to have this new version of openssl
since there is some kind of leak associated with the random device
that is fixed only in this new version. (I am installing on a solaris
2.6 box).

>
> I have a patch coming (probably tomorrow) which fixes this and other
> problems.

Where is the patch available?

Mate