]> git.ipfire.org Git - thirdparty/openssl.git/blob - doc/man3/RAND_cleanup.pod
Less documentation for deprecated API
[thirdparty/openssl.git] / doc / man3 / RAND_cleanup.pod
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 #if OPENSSL_API_COMPAT < 0x10100000L
12 void RAND_cleanup(void)
13 #endif
14
15 Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
16 the PRNG. As of version 1.1.0, it does nothing and should not be called,
17 since no explicit initialisation or de-initialisation is necessary. See
18 L<OPENSSL_init_crypto(3)>.
19
20 =head1 RETURN VALUE
21
22 RAND_cleanup() returns no value.
23
24 =head1 HISTORY
25
26 RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
27 See L<OPENSSL_init_crypto(3)>
28
29 =head1 COPYRIGHT
30
31 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
32
33 Licensed under the OpenSSL license (the "License"). You may not use
34 this file except in compliance with the License. You can obtain a copy
35 in the file LICENSE in the source distribution or at
36 L<https://www.openssl.org/source/license.html>.
37
38 =cut