openssl w/ rsaref openssh won't configure

Ed Eden ede370 at
Thu May 11 01:50:52 EST 2000

I have openssl-0.9.5a and openssh-2.1.0. I configured ssl with rsaref
and it passes the tests. When I configure ssh I get:

checking for OpenSSL directory... configure: error: Could not find
working SSLeay / OpenSSL libraries, please install

it is failing RSA_private_decrypt function call. The RSA_generate_key
seems to work (does not return null) but then goes on to fail at

Like I said, the openssl tests passed....

conftest.c generated by configure:
gcc -o conftest -g -O2 -Wall -I/opt/openssl/include   -L/opt/openssl/lib
-L/opt/openssl conftest.c -ldl -lnsl -lz  -lutil -lpam -lcrypto
-lRSAglue -lrsaref 1>&5
configure: failed program was:
#line 2032 "configure"
#include "confdefs.h"

#include <string.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/bn.h>
#include <openssl/sha.h>
int main(void)
        RSA *key; char a[2048],b[2048];;
        memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
        RAND_add(a, sizeof(a), sizeof(a));
        if (key==NULL) return(1);


More information about the openssh-unix-dev mailing list