diff options
author | 2000-04-15 06:18:28 +0000 | |
---|---|---|
committer | 2000-04-15 06:18:28 +0000 | |
commit | f6e3f26248a24c86023ecf5715f4f93988bb2af0 (patch) | |
tree | ac021db17e92c0faf3fd3cde4f68d156321aa307 /lib/libcrypto/rand/rand_lib.c | |
parent | Modify to build with ncurses, not ocurses. A proper port to terminfo (diff) | |
download | wireguard-openbsd-f6e3f26248a24c86023ecf5715f4f93988bb2af0.tar.xz wireguard-openbsd-f6e3f26248a24c86023ecf5715f4f93988bb2af0.zip |
OpenSSL 0.9.5a merge
Diffstat (limited to 'lib/libcrypto/rand/rand_lib.c')
-rw-r--r-- | lib/libcrypto/rand/rand_lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libcrypto/rand/rand_lib.c b/lib/libcrypto/rand/rand_lib.c index b09a300c46e..7da74aab0ef 100644 --- a/lib/libcrypto/rand/rand_lib.c +++ b/lib/libcrypto/rand/rand_lib.c @@ -108,3 +108,10 @@ int RAND_pseudo_bytes(unsigned char *buf, int num) return rand_meth->pseudorand(buf,num); return(-1); } + +int RAND_status(void) + { + if (rand_meth != NULL) + return rand_meth->status(); + return 0; + } |