RAND_cleanup.pod 1.1 KB

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