Re: Problem Compiling OpenSSL for RSA Support

2000-03-04 Thread Bodo Moeller
David G. Hesprich [EMAIL PROTECTED]: ./config rsaref make make test make install it compiles, all tests appear to complete, and installs. However, OpenSSH complains of the lack of RSA support in the libraries. [...] I have contacted Damien Miller at the OpenSSH project, and he was

Re: Problem Compiling OpenSSL for RSA Support

2000-03-04 Thread Ulf Möller
On Fri, Mar 03, 2000 at 09:08:49PM -0500, David G. Hesprich wrote: int main(void) { RSA *key; key=RSA_generate_key(32,3,NULL,NULL); if(key==NULL) printf("NO RSA!\n"); else printf("RSA OK!\n"); return(0); } You have RSA support, but you can't use it because you don't seed the PRNG.

Re: Problem Compiling OpenSSL for RSA Support

2000-03-04 Thread David G. Hesprich
In that test program, insert "ERR_print_errors_fp(stdout);" before the "return(0);" statement and recompile. Running the program then will output the notorious "prng not seeded" error message, which is discussed in the OpenSSL FAQ. It needs a few more bits of glue to see it clearly, which

Re: Problem Compiling OpenSSL for RSA Support

2000-03-04 Thread David G. Hesprich
Turns out my problem is just a variation of the Why do I get a "PRNG not seeded" error message? at http://www.openssl.org/support/faq.html#6 If I revise the test program to read: #include openssl/rsa.h #include openssl/bn.h #include openssl/err.h #include openssl/rand.h static const char

Problem Compiling OpenSSL for RSA Support

2000-03-03 Thread David G. Hesprich
I'm trying to compile OpenSSL with rsaref2 on a SPARCserver 1000 running Solaris 7. GCC is version 2.8.1, OpenSSL is the 0.9.5 source distribution, and OpenSSH is the 1.2.2 source distribution. I've compliled rsaref2 with the CERT vulnerbility patch and installed librsaref.a into /usr/local/lib