diff options
author | Ben Laurie <ben@openssl.org> | 1999-02-09 23:01:08 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-02-09 23:01:08 +0000 |
commit | bf5dcd135fb77dc23d8566b6456317a10e806b7d (patch) | |
tree | c4af8eeb22fcec5a1b58ec82d476e8757e57ef5f /crypto/rand/rand.h | |
parent | 119f62881a57ac10f1b347492da43589d16012f8 (diff) | |
download | openssl-bf5dcd135fb77dc23d8566b6456317a10e806b7d.tar.gz |
More exactitude with function arguments.
Diffstat (limited to 'crypto/rand/rand.h')
-rw-r--r-- | crypto/rand/rand.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 34ef90373e..7baac68ee5 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -66,7 +66,7 @@ extern "C" { typedef struct rand_meth_st { #ifndef NOPROTO - void (*seed)(unsigned char *buf, int num); + void (*seed)(const void *buf, int num); void (*bytes)(unsigned char *buf, int num); void (*cleanup)(void); #else @@ -81,8 +81,8 @@ void RAND_set_rand_method(RAND_METHOD *meth); RAND_METHOD *RAND_get_rand_method(void ); RAND_METHOD *RAND_SSLeay(void); void RAND_cleanup(void ); -void RAND_bytes( unsigned char *buf,int num); -void RAND_seed( unsigned char *buf,int num); +void RAND_bytes(unsigned char *buf,int num); +void RAND_seed(const void *buf,int num); int RAND_load_file(const char *file,long max_bytes); int RAND_write_file(const char *file); char *RAND_file_name(char *file,int num); |