summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-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 /
231 { 231 {
232 RSA *key; char a[2048],b[2048];; 232 RSA *key; char a[2048],b[2048];;
233 memset(a, 0, sizeof(a));memset(b, 0, sizeof(b)); 233 memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
234 RAND_seed(a, sizeof(a)); 234 RAND_add(a, sizeof(a), sizeof(a));
235 key=RSA_generate_key(32,3,NULL,NULL); 235 key=RSA_generate_key(32,3,NULL,NULL);
236 if (key==NULL) return(1); 236 if (key==NULL) return(1);
237 return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING)); 237 return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));