Add a no-egd option to disable EGD-related code
[oweals/openssl.git] / include / openssl / rand.h
index 13e3e04f98d06046c0214ea24929c4230473ca3e..fbc73a49604950f9c7ece1ff3b6cfe93ce4d3889 100644 (file)
@@ -105,9 +105,11 @@ int RAND_load_file(const char *file, long max_bytes);
 int RAND_write_file(const char *file);
 const char *RAND_file_name(char *file, size_t num);
 int RAND_status(void);
+# ifndef OPENSSL_NO_EGD
 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
 int RAND_egd(const char *path);
 int RAND_egd_bytes(const char *path, int bytes);
+# endif
 int RAND_poll(void);
 
 # if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32)