Skip to content

Conversation

@dbaarda
Copy link
Member

@dbaarda dbaarda commented Oct 2, 2019

Change rs_file_size() to return -1 for unknown file sizes and update docstring in librsync.h. In sumset.c update rs_signature_init() work correctly for sig_fsize<12.

Update sumset_test.c to use -1 for unknown filesizes and add some tests for checking invalid blake2 strong_len arguments.

Change rs_file_size() to return -1 for unknown file sizes. in librsync.h
update docstring for rs_file_size() for this. In sumset.c update
rs_signature_init() work correctly for sig_fsize<12.

Update sumset_test.c to use -1 for unknown filesizes and add some tests for
checking invalid blake2 strong_len arguments.
@dbaarda
Copy link
Member Author

dbaarda commented Oct 2, 2019

This cherrypicks a change from #109 that is independent of that change, and really should have been like this from the start.

Because it's pretty trivial I'm going to merge it now.

@dbaarda dbaarda merged commit 5d94a10 into librsync:master Oct 2, 2019
@dbaarda dbaarda deleted the dev/filesize1 branch October 2, 2019 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant