2000-01-22 01:50:27 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
RAND_cleanup - erase the PRNG state
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/rand.h>
|
|
|
|
|
2021-12-02 19:33:49 +08:00
|
|
|
The following function has been deprecated since OpenSSL 1.1.0, and can be
|
|
|
|
hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
|
|
|
|
see L<openssl_user_macros(7)>:
|
2018-11-30 07:05:03 +08:00
|
|
|
|
2020-07-15 16:26:35 +08:00
|
|
|
void RAND_cleanup(void);
|
2000-01-22 01:50:27 +08:00
|
|
|
|
2017-09-03 04:12:12 +08:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2017-07-08 04:47:39 +08: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-08-01 06:58:40 +08:00
|
|
|
since no explicit initialisation or de-initialisation is necessary. See
|
2017-07-08 04:47:39 +08:00
|
|
|
L<OPENSSL_init_crypto(3)>.
|
2000-01-22 01:50:27 +08:00
|
|
|
|
2017-12-25 17:50:39 +08:00
|
|
|
=head1 RETURN VALUES
|
2000-01-22 01:50:27 +08:00
|
|
|
|
|
|
|
RAND_cleanup() returns no value.
|
|
|
|
|
2019-04-09 22:13:55 +08:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<RAND(7)>
|
|
|
|
|
2016-04-06 18:19:55 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
2017-09-02 21:35:50 +08:00
|
|
|
RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
|
|
|
|
See L<OPENSSL_init_crypto(3)>
|
2016-04-06 18:19:55 +08:00
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2020-08-06 20:22:30 +08:00
|
|
|
Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:44 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
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
|