Deprecate RAND_cleanup() and make it a no-op
[openssl.git] / doc / crypto / rand.pod
index 27a6787dbe7b630ba41f1d1b4add108e26b848a4..7d9605011ba38aa2ab58e7d405cd2f121582874c 100644 (file)
@@ -27,12 +27,16 @@ rand - pseudo-random number generator
  const RAND_METHOD *RAND_get_rand_method(void);
  RAND_METHOD *RAND_OpenSSL(void);
 
- void RAND_cleanup(void);
-
  /* For Win32 only */
  void RAND_screen(void);
  int RAND_event(UINT, WPARAM, LPARAM);
 
+Deprecated:
+
+ #if OPENSSL_API_COMPAT < 0x10100000L
+ # define RAND_cleanup()
+ #endif
+
 =head1 DESCRIPTION
 
 Since the introduction of the ENGINE API, the recommended way of controlling