diff options
Diffstat (limited to 'src/lib/libcrypto/rand/rand_lib.c')
-rw-r--r-- | src/lib/libcrypto/rand/rand_lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/libcrypto/rand/rand_lib.c b/src/lib/libcrypto/rand/rand_lib.c index b09a300c46..7da74aab0e 100644 --- a/src/lib/libcrypto/rand/rand_lib.c +++ b/src/lib/libcrypto/rand/rand_lib.c | |||
@@ -108,3 +108,10 @@ int RAND_pseudo_bytes(unsigned char *buf, int num) | |||
108 | return rand_meth->pseudorand(buf,num); | 108 | return rand_meth->pseudorand(buf,num); |
109 | return(-1); | 109 | return(-1); |
110 | } | 110 | } |
111 | |||
112 | int RAND_status(void) | ||
113 | { | ||
114 | if (rand_meth != NULL) | ||
115 | return rand_meth->status(); | ||
116 | return 0; | ||
117 | } | ||