diff options
Diffstat (limited to 'src/global.c')
-rw-r--r-- | src/global.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/global.c b/src/global.c index 8521e589..8a5d3100 100644 --- a/src/global.c +++ b/src/global.c @@ -540,6 +540,10 @@ _gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr) _gcry_use_random_daemon (!! va_arg (arg_ptr, int)); break; + case GCRYCTL_CLOSE_RANDOM_DEVICE: + _gcry_random_close_fds (); + break; + /* This command dumps information pertaining to the configuration of libgcrypt to the given stream. It may be used before the initialization has been finished but not |