Commit Graph

28 Commits

Author SHA1 Message Date
Brian Cox 6455c3966c mingw build stuff 2019-09-29 17:36:14 -07:00
Brian Cox a260b75db5 buildsys cleanup, mostly to help with AIX,HP-UX,MinGW builds 2019-09-28 06:13:38 -07:00
Brian Cox edec2a4bdd Build & link successfully with a cross compiler targeting VxWorks, though I can't actually test it yet; clean up & extend platform & file type detection a bit 2019-08-06 15:15:16 -07:00
Brian Cox b308f6871b Bump © year to 2019, because 2019 2019-01-03 20:30:41 -08:00
Brian Cox 15dfea4d85 clean up some formatting issues w/ standard type PR, etc. 2018-10-28 14:04:29 -07:00
Brian Cox c9e32170ba use standard '_t' fixed-width types instead of rolling our own, where available 2018-10-28 12:07:34 -07:00
Brian Cox 432efb34fb Make OST buildable w/ Apple Clang with -std=c++17. Changes are mostly avoiding conflict w/ std::byte, and replacing std::ptr_fun with lambdas, and getting rid of set_unexpected calls 2018-10-13 20:56:05 -07:00
Brian Cox ccf8a62fa4 Clean up code formatting with clang-format; add a custom clang-format style that tries to approximate the existing OST code style 2018-03-24 21:28:30 -07:00
Brian Cox f1525a267a Bump version & copyright year 2018-01-01 17:44:15 -08:00
Brian Cox dae64c48ed Update copyright years 2017-04-25 18:31:11 -07:00
Brian Cox 8ba032c424 Change uses of _DEBUG and _DEBUG_DB defines to be DEBUG, since that's the only symbol that gets defined by configuring with --enable-debug. 2017-04-12 21:44:51 -07:00
Brian Cox e04b97132b Ok, actually don't use strl* string functions since they're a BSD-ism & Linux doesn't have them. 2017-03-25 16:02:51 -07:00
Brian Cox 8cdca39103 Prefer strl* string functions over strn* ones 2017-03-25 15:06:22 -07:00
Brian Cox b2f21c3d55 Assorted bounds checks (via flawfinder) 2017-03-15 19:06:52 -07:00
Brian Cox 33e8f4d76b Remove static direct i/o buffer & blocksize cfg option. 2016-07-21 20:22:52 -07:00
Brian Cox c4440c5d29 Make direct i/o option work properly (ie don't use fread(), and use full block size on EOF), & rename it to HASH_DIRECT_IO for clarity 2016-07-03 14:29:05 -07:00
Brian Cox 7ad2b52d14 Remove UCS2-related dead code, in the name of clarity 2016-06-13 20:11:13 -07:00
Brian Cox c79a6af7b1 [OSX] Use CommonCrypto md5 & sha1 impls by default, with a --disable-commoncrypto configure option to disable them and use the old builtin impls. 2016-06-07 19:06:10 -07:00
Brian Cox 9214316bbd Align buffer on page boundary if user enables HASH_DIRECT (formerly DIRECT_IO); let user specify num blocks per read. 2016-05-16 19:32:38 -07:00
Brian Cox 728795af3d Replace tabs with 4 spaces in all remaining OST code, since this inconsistency can now result in 'misleading indentation' warnings in GCC 6.0+. 2016-04-23 00:33:17 -07:00
Brian Cox 5819201c68 GCC 6's new 'misleading indentation' warning showed up a few times in OST, so this commit squashes all the current examples of that. Also adds Fedora 24 alpha 7 (x64) + gcc 6.0.0 to the list of tested platforms. 2016-04-22 18:27:02 -07:00
Brian Cox 0cb48a433a Squash more warnings, including char* / string constant ones in msystem & policy parser. 2016-04-21 00:16:14 -07:00
Brian Cox 9e5dd61e39 Fix various compiler warnings; enable -Wextra warnings except for unused params. 2016-04-15 12:42:31 -07:00
Brian Cox da16d91146 Add option to show hashes as hex instead of base64. Siggen already provided this. 2016-04-09 16:36:39 -07:00
Brian Cox 1e06389361 Fix SHA hashes when using OpenSSL impl; build fix for SkyOS 5.0 which doesn't have syslog(). 2016-03-26 16:08:04 -07:00
Brian Cox bb4ef956c0 Build fix for with-OpenSSL SHA handling 2016-03-26 01:38:25 -07:00
Brian Cox 184bfe63eb Fix non-OpenSSL SHA brokenness; fix OpenSolaris/OpenIndiana build issue; tweak filelist in touchconfig script; update ChangeLog, RPM spec, & MAINTAINERS 2016-03-26 01:08:03 -07:00
Ken Westin c8dc58df50 Open Source Tripwire 2.4.2.2
Initial commit of code from Sourceforge repository.
2015-05-03 22:26:18 -07:00