/[monit]/monit/ssl.c
ViewVC logotype

Diff of /monit/ssl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by martinp, Fri Oct 15 08:50:06 2004 UTC revision 1.38 by hauk, Sun Dec 12 23:45:09 2004 UTC
# Line 1854  static int ssl_thread_stop(void) { Line 1854  static int ssl_thread_stop(void) {
1854   */   */
1855  static int ssl_entropy_start(void) {  static int ssl_entropy_start(void) {
1856    
1857    if(exist_file(URANDOM_DEVICE)) {    if(File_exist(URANDOM_DEVICE)) {
1858    
1859      return(RAND_load_file(URANDOM_DEVICE, RANDOM_BYTES)==RANDOM_BYTES);      return(RAND_load_file(URANDOM_DEVICE, RANDOM_BYTES)==RANDOM_BYTES);
1860    
1861    } else if(exist_file(RANDOM_DEVICE)) {    } else if(File_exist(RANDOM_DEVICE)) {
1862    
1863      fprintf(stdout, "Gathering entropy from the random device. Please wait\n");      fprintf(stdout, "Gathering entropy from the random device. Please wait\n");
1864      fflush(stdout);      fflush(stdout);

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26