blob: 31c90e71ed9b78459992445fadcd2e5f13b91150 [file] [log] [blame]
Ulf Möller60b52452000-01-21 17:50:27 +00001=pod
2
3=head1 NAME
4
5RAND_cleanup - erase the PRNG state
6
7=head1 SYNOPSIS
8
9 #include <openssl/rand.h>
10
Matt Caswellf3cd81d2016-04-06 11:19:55 +010011 #if OPENSSL_API_COMPAT < 0x10100000L
Matt Caswell1d5099d2016-04-06 11:13:25 +010012 void RAND_cleanup(void)
Matt Caswellf3cd81d2016-04-06 11:19:55 +010013 #endif
Ulf Möller60b52452000-01-21 17:50:27 +000014
15=head1 DESCRIPTION
16
Matt Caswellf3cd81d2016-04-06 11:19:55 +010017Prior to OpenSSL 1.1.0 RAND_cleanup() erases the memory used by the PRNG. This
18function is deprecated and as of version 1.1.0 does nothing. No explicit
19initialisation or de-initialisation is necessary. See L<OPENSSL_init_crypto(3)>.
Ulf Möller60b52452000-01-21 17:50:27 +000020
21=head1 RETURN VALUE
22
23RAND_cleanup() returns no value.
24
25=head1 SEE ALSO
26
Richard Levitteb97fdb52016-11-11 09:33:09 +010027L<RAND_bytes(3)>
Ulf Möller60b52452000-01-21 17:50:27 +000028
Matt Caswellf3cd81d2016-04-06 11:19:55 +010029=head1 HISTORY
30
31RAND_cleanup() was deprecated in OpenSSL 1.1.0.
32
Rich Salze2f92612016-05-18 11:44:05 -040033=head1 COPYRIGHT
34
35Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
36
37Licensed under the OpenSSL license (the "License"). You may not use
38this file except in compliance with the License. You can obtain a copy
39in the file LICENSE in the source distribution or at
40L<https://www.openssl.org/source/license.html>.
41
42=cut