Don't cheat: when only getting several bytes from each source, n is incremented
[openssl.git] / crypto / rand / rand.h
index 3ea37729f7f166dbfb639e9c9294c03c6a357b1a..eb9c8c034de906b3a960b2aa2885e8e517b9cec8 100644 (file)
@@ -77,7 +77,9 @@ typedef struct rand_meth_st
 extern int rand_predictable;
 #endif
 
-void RAND_set_rand_method(RAND_METHOD *meth);
+struct engine_st;
+
+int RAND_set_rand_method(struct engine_st *meth);
 RAND_METHOD *RAND_get_rand_method(void );
 RAND_METHOD *RAND_SSLeay(void);
 void RAND_cleanup(void );
@@ -91,7 +93,7 @@ const char *RAND_file_name(char *file,int num);
 int RAND_status(void);
 int RAND_egd(const char *path);
 int RAND_egd_bytes(const char *path,int bytes);
-void ERR_load_RAND_strings(void);\r
+void ERR_load_RAND_strings(void);
 int RAND_poll(void);
 
 #ifdef  __cplusplus