comparison dbrandom.c @ 1121:bb3a03feb31f

Merge pull request #13 from gazoo74/fix-warnings Fix warnings
author Matt Johnston <matt@ucc.asn.au>
date Thu, 04 Jun 2015 22:25:28 +0800
parents a9e4d66ffb2c
children 9da3e7b4fe55
comparison
equal deleted inserted replaced
1087:1e486f368ec3 1121:bb3a03feb31f
139 out: 139 out:
140 close(readfd); 140 close(readfd);
141 return ret; 141 return ret;
142 } 142 }
143 143
144 void addrandom(char * buf, unsigned int len) 144 void addrandom(unsigned char * buf, unsigned int len)
145 { 145 {
146 hash_state hs; 146 hash_state hs;
147 147
148 /* hash in the new seed data */ 148 /* hash in the new seed data */
149 sha1_init(&hs); 149 sha1_init(&hs);