Line 0
Link Here
|
|
|
1 |
--- ck_ssl.c.orig 2011-07-06 13:03:32 UTC |
2 |
+++ ck_ssl.c |
3 |
@@ -1054,11 +1054,15 @@ ssl_display_comp(SSL * ssl) |
4 |
if (ssl == NULL) |
5 |
return; |
6 |
|
7 |
+#ifndef NO_COMP |
8 |
if (ssl->expand == NULL || ssl->expand->meth == NULL) |
9 |
+#endif |
10 |
printf("Compression: None\r\n"); |
11 |
+#ifndef NO_COMP |
12 |
else { |
13 |
printf("Compression: %s\r\n",ssl->expand->meth->name); |
14 |
} |
15 |
+#endif |
16 |
} |
17 |
|
18 |
int |
19 |
@@ -1483,9 +1487,13 @@ the build.\r\n\r\n"); |
20 |
} |
21 |
debug(F110,"ssl_rnd_file",ssl_rnd_file,0); |
22 |
|
23 |
+#ifndef NO_EGD |
24 |
rc1 = RAND_egd(ssl_rnd_file); |
25 |
debug(F111,"ssl_once_init","RAND_egd()",rc1); |
26 |
- if ( rc1 <= 0 ) { |
27 |
+ if ( rc1 <= 0 ) |
28 |
+#endif |
29 |
+ { |
30 |
+ |
31 |
rc2 = RAND_load_file(ssl_rnd_file, -1); |
32 |
debug(F111,"ssl_once_init","RAND_load_file()",rc1); |
33 |
} |