comparison dbrandom.c @ 1120:391bb7d560c6

Merge branch 'fix-pointer-sign-warnings' into fix-warnings
author Gaël PORTAY <gael.portay@gmail.com>
date Tue, 05 May 2015 20:42:38 +0200
parents a9e4d66ffb2c
children 9da3e7b4fe55
comparison
equal deleted inserted replaced
1093:aae71c5f7d5b 1120:391bb7d560c6
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);