summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-04 02:21:09 +0200
committerDamien Miller <djm@mindrot.org>2000-04-04 02:21:09 +0200
commit193ba88dd6e9d6bcd5f476c7f5ddde8fd0b752bf (patch)
tree87121e604378b775d31fd8e182ad9dae9f1fd7fd /configure.in
parent - Disable tests and typedefs for 64 bit types. They are currently unused. (diff)
downloadopenssh-193ba88dd6e9d6bcd5f476c7f5ddde8fd0b752bf.tar.xz
openssh-193ba88dd6e9d6bcd5f476c7f5ddde8fd0b752bf.zip
- Add tests for RAND_add function when searching for OpenSSL
Diffstat (limited to '')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1a2fcd2ca..14dd51081 100644
--- a/configure.in
+++ b/configure.in
@@ -231,7 +231,7 @@ for ssldir in "" $tryssldir /usr/local/openssl /usr/lib/openssl /usr/local/ssl /
{
RSA *key; char a[2048],b[2048];;
memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
- RAND_seed(a, sizeof(a));
+ RAND_add(a, sizeof(a), sizeof(a));
key=RSA_generate_key(32,3,NULL,NULL);
if (key==NULL) return(1);
return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));