2000-01-21 17:50:27 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
RAND_cleanup - erase the PRNG state
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/rand.h>
|
|
|
|
|
2016-04-06 10:19:55 +00:00
|
|
|
#if OPENSSL_API_COMPAT < 0x10100000L
|
2016-04-06 10:13:25 +00:00
|
|
|
void RAND_cleanup(void)
|
2016-04-06 10:19:55 +00:00
|
|
|
#endif
|
2000-01-21 17:50:27 +00:00
|
|
|
|
2017-09-02 20:12:12 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2017-07-07 20:47:39 +00:00
|
|
|
Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
|
|
|
|
the PRNG. As of version 1.1.0, it does nothing and should not be called,
|
2017-07-31 22:58:40 +00:00
|
|
|
since no explicit initialisation or de-initialisation is necessary. See
|
2017-07-07 20:47:39 +00:00
|
|
|
L<OPENSSL_init_crypto(3)>.
|
2000-01-21 17:50:27 +00:00
|
|
|
|
2017-12-25 09:50:39 +00:00
|
|
|
=head1 RETURN VALUES
|
2000-01-21 17:50:27 +00:00
|
|
|
|
|
|
|
RAND_cleanup() returns no value.
|
|
|
|
|
2016-04-06 10:19:55 +00:00
|
|
|
=head1 HISTORY
|
|
|
|
|
2017-09-02 13:35:50 +00:00
|
|
|
RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
|
|
|
|
See L<OPENSSL_init_crypto(3)>
|
2016-04-06 10:19:55 +00:00
|
|
|
|
2016-05-18 15:44:05 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2018-01-15 17:01:46 +00:00
|
|
|
Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 15:44:05 +00:00
|
|
|
|
|
|
|
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
|