add removed functions back as deprecated
[openssl.git] / doc / crypto / rand.pod
index 7d9605011ba38aa2ab58e7d405cd2f121582874c..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
# define RAND_cleanup()
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,6 +76,15 @@ 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)> 
+L<RAND_cleanup(3)>
+
+=head1 COPYRIGHT
+
+Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+
+Licensed under the OpenSSL license (the "License").  You may not use
+this file except in compliance with the License.  You can obtain a copy
+in the file LICENSE in the source distribution or at
+L<https://www.openssl.org/source/license.html>.
 
 =cut