Loading crypto/rand/rand.h +2 −2 Original line number Diff line number Diff line Loading @@ -83,8 +83,8 @@ RAND_METHOD *RAND_SSLeay(void); void RAND_cleanup(void ); void RAND_bytes( unsigned char *buf,int num); void RAND_seed( unsigned char *buf,int num); int RAND_load_file(char *file,long max_bytes); int RAND_write_file(char *file); int RAND_load_file(const char *file,long max_bytes); int RAND_write_file(const char *file); char *RAND_file_name(char *file,int num); #ifdef WINDOWS void RAND_screen(void); Loading crypto/rand/randfile.c +3 −3 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ /* #define RFILE ".rand" - defined in ../../e_os.h */ int RAND_load_file(file,bytes) char *file; const char *file; long bytes; { MS_STATIC unsigned char buf[BUFSIZE]; Loading @@ -87,7 +87,7 @@ long bytes; if (i < 0) return(0); if (bytes <= 0) return(ret); in=fopen(file,"br"); in=fopen(file,"rb"); if (in == NULL) goto err; for (;;) { Loading @@ -107,7 +107,7 @@ err: } int RAND_write_file(file) char *file; const char *file; { unsigned char buf[BUFSIZE]; int i,ret=0; Loading Loading
crypto/rand/rand.h +2 −2 Original line number Diff line number Diff line Loading @@ -83,8 +83,8 @@ RAND_METHOD *RAND_SSLeay(void); void RAND_cleanup(void ); void RAND_bytes( unsigned char *buf,int num); void RAND_seed( unsigned char *buf,int num); int RAND_load_file(char *file,long max_bytes); int RAND_write_file(char *file); int RAND_load_file(const char *file,long max_bytes); int RAND_write_file(const char *file); char *RAND_file_name(char *file,int num); #ifdef WINDOWS void RAND_screen(void); Loading
crypto/rand/randfile.c +3 −3 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ /* #define RFILE ".rand" - defined in ../../e_os.h */ int RAND_load_file(file,bytes) char *file; const char *file; long bytes; { MS_STATIC unsigned char buf[BUFSIZE]; Loading @@ -87,7 +87,7 @@ long bytes; if (i < 0) return(0); if (bytes <= 0) return(ret); in=fopen(file,"br"); in=fopen(file,"rb"); if (in == NULL) goto err; for (;;) { Loading @@ -107,7 +107,7 @@ err: } int RAND_write_file(file) char *file; const char *file; { unsigned char buf[BUFSIZE]; int i,ret=0; Loading