add removed functions back as deprecated
[openssl.git] / doc / crypto / rand.pod
index eca3bf5ea8f90a86d287dae11114de9bdb3a4767..76ec0b6b7338d27c92cde0c288a15baa7fa3c5af 100644 (file)
@@ -27,16 +27,20 @@ rand - pseudo-random number generator
  const RAND_METHOD *RAND_get_rand_method(void);
  RAND_METHOD *RAND_OpenSSL(void);
 
- /* For Win32 only */
- void RAND_screen(void);
- int RAND_event(UINT, WPARAM, LPARAM);
-
 Deprecated:
 
  #if OPENSSL_API_COMPAT < 0x10100000L
  void RAND_cleanup(void)
  #endif
 
+/* For Win32 only */
+
+ #if OPENSSL_API_COMPAT < 0x10100000L
+ void RAND_screen(void);
+ int RAND_event(UINT, WPARAM, LPARAM);
+ #endif
+
+
 =head1 DESCRIPTION
 
 Since the introduction of the ENGINE API, the recommended way of controlling
@@ -64,7 +68,7 @@ described in L<RAND_add(3)>. Its state can be saved in a seed file
 seeding process whenever the application is started.
 
 L<RAND_bytes(3)> describes how to obtain random data from the
-PRNG. 
+PRNG.
 
 =head1 SEE ALSO
 
@@ -72,9 +76,7 @@ L<BN_rand(3)>, L<RAND_add(3)>,
 L<RAND_load_file(3)>, L<RAND_egd(3)>,
 L<RAND_bytes(3)>,
 L<RAND_set_rand_method(3)>,
-L<RAND_cleanup(3)> 
-
-=cut
+L<RAND_cleanup(3)>
 
 =head1 COPYRIGHT