diff options
Diffstat (limited to 'crypto/rand/rand.h')
-rw-r--r-- | crypto/rand/rand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index ac6c021763..5895d3b6e1 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -80,10 +80,10 @@ extern "C" { struct rand_meth_st { - void (*seed)(const void *buf, int num); + int (*seed)(const void *buf, int num); int (*bytes)(unsigned char *buf, int num); void (*cleanup)(void); - void (*add)(const void *buf, int num, double entropy); + int (*add)(const void *buf, int num, double entropy); int (*pseudorand)(unsigned char *buf, int num); int (*status)(void); }; |