diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-06 11:19:55 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-13 08:52:33 +0100 |
commit | f3cd81d6538e6295eaa279acd65ad10faeccd2ed (patch) | |
tree | 26117ea3e3651aff964d42a7b986afd935c6ebeb /crypto/include | |
parent | b22234deebe2e1758d59c64778ce462f11f16cb4 (diff) |
Deprecate RAND_cleanup() and make it a no-op
RAND_cleanup() should not be called expicitly - we should leave
auto-deinit to clean this up instead.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/rand.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/include/internal/rand.h b/crypto/include/internal/rand.h new file mode 100644 index 0000000000..f1a9389425 --- /dev/null +++ b/crypto/include/internal/rand.h @@ -0,0 +1,11 @@ +/* + * Licensed under the OpenSSL licenses, (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * https://www.openssl.org/source/license.html + * or in the file LICENSE in the source distribution. + */ + +#include <openssl/rand.h> + +void rand_cleanup_intern(void); |