Home | History | Annotate | Line # | Download | only in man3
      1 =pod
      2 
      3 =head1 NAME
      4 
      5 RAND_cleanup - erase the PRNG state
      6 
      7 =head1 SYNOPSIS
      8 
      9  #include <openssl/rand.h>
     10 
     11 The following function has been deprecated since OpenSSL 1.1.0, and can be
     12 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
     13 see L<openssl_user_macros(7)>:
     14 
     15  void RAND_cleanup(void);
     16 
     17 =head1 DESCRIPTION
     18 
     19 Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
     20 the PRNG.  As of version 1.1.0, it does nothing and should not be called,
     21 since no explicit initialisation or de-initialisation is necessary. See
     22 L<OPENSSL_init_crypto(3)>.
     23 
     24 =head1 RETURN VALUES
     25 
     26 RAND_cleanup() returns no value.
     27 
     28 =head1 SEE ALSO
     29 
     30 L<RAND(7)>
     31 
     32 =head1 HISTORY
     33 
     34 RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
     35 See L<OPENSSL_init_crypto(3)>
     36 
     37 =head1 COPYRIGHT
     38 
     39 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
     40 
     41 Licensed under the Apache License 2.0 (the "License").  You may not use
     42 this file except in compliance with the License.  You can obtain a copy
     43 in the file LICENSE in the source distribution or at
     44 L<https://www.openssl.org/source/license.html>.
     45 
     46 =cut
     47