summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add support for various SHA checksum digestsWayne Davison2022-09-102-0/+20
| | | | | | | | | | | | | | The main purpose of the SHA checksums are to allow the daemon auth code to pick a stonger digest method when negotiating the auth digest to use. However, the SHA digests are also available for use in file checksums, should someon really want to use one of them. The new digests are listed from strongest to weakest at the start of the daemon auth list, giving them the highest priority. The new digests are listed from weakest to strongest near the end of the checksum list, giving them the lowest priority of use for file checksums.
* Improve various things in the checksum codeWayne Davison2022-09-103-12/+2
| | | | | | | | | | - Size flist checksum data to hold the active size, not the max. - Add a negotiated hash method to the daemon auth code. - Use EVP for all openssl digests. This makes it easy to add more openssl digest methods and avoids deprecation warnings. - Support a way to re-enable deprecated digests via openssl conf file and allow a default file to be configured. - Supply a simple openssl-rsync.cnf file to enable legacy digests.
* Preparing for release of 3.2.5Wayne Davison2022-08-142-2/+2
|
* Remove some trailing whitespace.Wayne Davison2022-08-132-89/+89
|
* Preparing for release of 3.2.4pre4v3.2.4pre4Wayne Davison2022-03-271-1/+1
|
* Make asm use more selectableWayne Davison2022-03-033-16/+20
| | | | | | | - Make the SIMD ASM code off by default. Use configure --enable-simd-asm to enable. - Allow MD5 ASM code to be requested even when OpenSSL is handling MD4 checksums. Use configure --enable-md5-asm to enable.
* Fix some typos mentioned in the fossies report.Wayne Davison2022-01-161-1/+1
|
* Preparing for release of 3.2.4pre2v3.2.4pre2Wayne Davison2022-01-151-1/+1
|
* Preparing for release of 3.2.4pre1v3.2.4pre1Wayne Davison2022-01-021-1/+1
|
* Put 0 in parens to silence an Xcode warning.Wayne Davison2021-01-311-3/+2
|
* Silence a few more warnings.Wayne Davison2020-09-291-5/+9
|
* Avoid some pedantic errors & old warnings.Wayne Davison2020-09-291-4/+5
|
* A couple minor changes.Wayne Davison2020-07-171-1/+1
|
* Mention file & line on OOM and overflow errors.Wayne Davison2020-07-123-5/+5
| | | | | Also simplify output of src file paths in errors & warnings when built in a alternate build dir.
* Some number & string improvementsWayne Davison2020-07-111-44/+41
| | | | | | | - Use strdup(do_big_num(...)) to replace num_to_byte_string(...). - Allow a ',' for a decimal point in a SIZE option in some locales. - Get rid of old (now unused) strdup() compatibility function. - Try harder to include the newline in a single error message write.
* Warning fixes & impossible-failure improvementsWayne Davison2020-07-081-1/+1
| | | | | - Silence a couple warnings for less-common builds. - Use a better impossible-failure idiom than assert(0).
* Some TANDEM ACL support.Wayne Davison2020-07-052-1/+12
|
* Some whitespace & paren cleanup.Wayne Davison2020-07-051-309/+300
|
* A bit more configure tweaking.Wayne Davison2020-07-051-0/+2
|
* Prepare for future release of XXH3 & XXH128.Wayne Davison2020-06-231-0/+2
|
* Apple needs a leading underscore.Wayne Davison2020-06-231-0/+4
|
* More asm improvementsWayne Davison2020-06-201-2/+2
| | | | | | | - Only use the asm code if we're on x86_64. - More changes to decouple asm from simd. - Check if the -Wa,--noexecstack option works. - Support --disable-asm configure option.
* Remove asm type & size.Wayne Davison2020-06-201-12/+0
|
* Fix conditional directives in the asm fileWayne Davison2020-06-203-16/+19
| | | | | | | - Switch .s -> .S to enable the preprocessor. - Move some defines from mdigest.h to md-defines.h. - Tweak the asm file to use md-defines.h. - Add a couple missing .h dependencies in the Makefile.
* Exclude the asm code when it's not being used.Wayne Davison2020-06-201-0/+6
|
* lib/md5-asm-x86_64.s: fix build with Apple ClangCaleb Xu2020-06-191-0/+9
| | | | | | The Mach-O x86-64 model doesn't seem to support ".type" and ".size" directives in assembly. Add ifdefs that should allow for the file to build without issues in Apple Clang.
* Prevent unnecessary xattr warning by reordering header inclusion. (#22)Holger Hoffstätte2020-06-191-3/+3
| | | | | | | | | | | xattr headers have been provided by glibc (at least on Linux/glibc) for many years now. Reorder the inclusion of xattr headers to attempt compatibility/legacy after the common case. This prevents the warning without changing compatibility to non-glibc systems. * Add dependency on lib/sysxattrs.h header in Makefile Co-authored-by: Wayne Davison <wayne@opencoder.net>
* Move the CSUM defines.Wayne Davison2020-06-011-0/+8
|
* Move OpenSSL-related MD4/5 defines and imports to lib/mdigest.hJorrit Jongma2020-06-011-0/+10
| | | | Works just as well, prevents having to repeat them across files
* Some minor tweaks & tidying up.Wayne Davison2020-05-241-1/+1
|
* Add optional use of the openssl crypto lib for MD5.Wayne Davison2020-05-233-7/+8
|
* Optimized assembler version of md5_process() for x86-64Jorrit Jongma2020-05-222-0/+706
| | | | | | Originally created by Marc Bevand and placed in the public domain. Enable/disabled via the same --enable-simd configure switch as the rolling checksum optimizations.
* Two more spelling fixes and some year updates.Wayne Davison2020-04-162-2/+2
|
* Spelling fixes from a Fossies run done by Jens.Wayne Davison2020-04-153-8/+8
|
* Set Copyright years and make them easier to updateWayne Davison2020-04-091-0/+1
| | | | | | | | I replaced git-set-file-times with an improved version that I wrote recently (in python3). A new script uses it to figure out the last-modified year for each *.[ch] file and updates its copyright. It also puts the latest year into the latest-year.h file for the output of --version.
* Tweak the copyright year.Wayne Davison2019-03-166-6/+6
|
* Avoid warning about leaked mem (didn't affect rsync's pool use).Wayne Davison2019-01-151-3/+3
|
* Tweak copyright date.Wayne Davison2018-01-146-6/+6
|
* Update the copyright year.Wayne Davison2015-08-086-6/+6
|
* Bump the year to 2014.Wayne Davison2014-01-266-6/+6
|
* Try to fix bug 7865 for some acl() EINVAL results.Wayne Davison2013-12-251-1/+5
|
* Use chunked xattr reading in OS X sys_lgetxattr().Wayne Davison2013-11-251-1/+22
|
* Set number_separator the first time it gets used.Wayne Davison2013-06-111-1/+10
|
* Add an implementation of getpass for systems that lack one.Wayne Davison2013-05-191-0/+72
|
* Tweak includes to fix non-defined NULL on some systems.Wayne Davison2011-07-311-2/+6
|
* We need VA_COPY() defined more. Fix dangling #endif.Wayne Davison2011-05-301-5/+4
|
* Merge latest samba version to get va_end() fixes, etc.Wayne Davison2011-05-301-211/+699
|
* Allow a failure of EINVAL to mean no ACLs are available.Wayne Davison2011-02-221-0/+5
| | | | (If our POSIX types aren't valid, we can't handle the ACLs.)
* Avoid type-punned compiler warnings for the byteorder.h macrosWayne Davison2009-10-131-22/+22
| | | | by using inline functions for the 4-char <-> uint32 conversions.
* Need to use O_RDONLY in solaris sys_lremovexattr().Wayne Davison2009-09-031-1/+1
|