aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/prng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/prng.c')
-rw-r--r--src/lib/crypto/prng.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/crypto/prng.c b/src/lib/crypto/prng.c
index c0f106f..6d401a9 100644
--- a/src/lib/crypto/prng.c
+++ b/src/lib/crypto/prng.c
@@ -153,3 +153,9 @@ krb5_c_random_make_octets(krb5_context context, krb5_data *data)
return(0);
}
+
+void prng_cleanup (void)
+{
+ free (random_state);
+ inited = 0;
+} \ No newline at end of file