mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:47:02 +02:00
@ -48,6 +48,7 @@ int make_digests(struct session_data *sdata, struct config *cfg){
|
||||
fd = open(sdata->filename, O_RDONLY);
|
||||
if(fd == -1) return -1;
|
||||
|
||||
memset(buf, 0, sizeof(buf));
|
||||
|
||||
while((n = read(fd, buf, sizeof(buf))) > 0){
|
||||
SHA256_Update(&context2, buf, n);
|
||||
|
Reference in New Issue
Block a user