diff options
Diffstat (limited to 'crypto/des/rand_key.c')
-rw-r--r-- | crypto/des/rand_key.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/des/rand_key.c b/crypto/des/rand_key.c index 8259f1a849..00db2bef77 100644 --- a/crypto/des/rand_key.c +++ b/crypto/des/rand_key.c @@ -62,15 +62,13 @@ static int seed=0; static des_cblock init; -void des_random_seed(key) -des_cblock key; +void des_random_seed(des_cblock key) { memcpy(init,key,sizeof(des_cblock)); seed=1; } -void des_random_key(ret) -unsigned char *ret; +void des_random_key(unsigned char *ret) { des_key_schedule ks; static DES_LONG c=0; |