aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing of git datestamps in release scriptJack Lloyd2017-10-021-4/+4
| | | | [ci skip]
* Remove redundant "virtual override" declarations.Jack Lloyd2017-10-0211-41/+39
|
* Disabling autodetection doesn't help if we force it in travis.ymlJack Lloyd2017-10-011-1/+1
|
* Ugh, disable ccache on Sonar buildJack Lloyd2017-10-011-2/+2
| | | | It seems ccache doesn't handle -fprofile-instr-generate correctly.
* Gah, remove llvm not install it!Jack Lloyd2017-10-011-1/+1
|
* Remove llvm package on Travis so we get a recent llvm-covJack Lloyd2017-10-011-0/+3
|
* Remove another expensive keygen testJack Lloyd2017-10-011-1/+1
| | | | [ci skip]
* Need SoftHSM for sonar build nowJack Lloyd2017-10-011-3/+9
|
* Fix some cast warnings from SonarJack Lloyd2017-10-017-15/+18
|
* Get coverage reports in SonarJack Lloyd2017-10-013-35/+48
|
* Use explicit :: or std:: to refer to functions in namespacesJack Lloyd2017-10-014-7/+7
|
* Remove 2048-bit keygen testsJack Lloyd2017-10-012-2/+2
| | | | Slow, and doesn't buy us much vs just the 1024 bit test.
* Use explicit_bzero on OpenBSDJack Lloyd2017-09-302-2/+8
| | | | [ci skip]
* Move Clang -Wunreachable-code warning to maintainer modeJack Lloyd2017-09-301-2/+2
| | | | | In older Clangs it produces false positives on compiler intrinsics and these will just frighten the user ;)
* Remove unused namespaceJack Lloyd2017-09-301-4/+0
|
* Avoid -size_tJack Lloyd2017-09-301-1/+1
|
* Guard against self-assignmentJack Lloyd2017-09-302-0/+6
| | | | Found with Sonar
* Change this code so Sonar understands div by zero can't happenJack Lloyd2017-09-301-2/+3
|
* Use class hereJack Lloyd2017-09-301-1/+1
|
* Fix bad comparisonJack Lloyd2017-09-301-1/+1
| | | | Caught by Sonar
* Switch Sonar analysis to a private organizationJack Lloyd2017-09-302-4/+5
| | | | | I think this allows us to use custom quality profiles (ie, disable or edit rulesets).
* Fix Sonar exclusionJack Lloyd2017-09-301-1/+1
| | | | [ci skip]
* Another FFI struct vs class fixJack Lloyd2017-09-301-1/+1
|
* Retract explicit on OIDJack Lloyd2017-09-301-1/+1
| | | | This conversion is often useful
* FFI objects have to be structs because we expose them to CJack Lloyd2017-09-302-5/+4
|
* Use explicit on more single-argument constructorsJack Lloyd2017-09-3014-20/+23
|
* Avoid bogus declarations in GMACJack Lloyd2017-09-301-25/+3
| | | | | These functions are declared/defined on MessageAuthenticationCode, and call the start_msg virtual.
* More fiddling with SonarJack Lloyd2017-09-301-1/+1
|
* Address some MSVC warningsJack Lloyd2017-09-308-135/+140
|
* Use class instead of struct for objects with member functionsJack Lloyd2017-09-3014-157/+184
| | | | Flagged by Sonar and quite reasonable
* Attempt at fixing Sonar exclusionsJack Lloyd2017-09-301-1/+2
|
* Add annotation so GCC/Clang/MSVC know it is an allocation function.Jack Lloyd2017-09-302-1/+12
|
* Merge GH #1231 Hide secure_allocator allocate in a functionJack Lloyd2017-09-305-22/+55
|\
| * Missing include, noticed by OS XJack Lloyd2017-09-291-0/+1
| |
| * In secure_allocator, hide mlock/new usage in a function in mem_opsJack Lloyd2017-09-295-22/+54
| | | | | | | | | | | | | | Switch to calloc/free instead of new/delete - shouldn't matter since we are only allocate integral types. This change reduces the size of libbotan-2.so by ~300 Kb on my system.
* | Thinko fixJack Lloyd2017-09-301-1/+1
| |
* | Compat typedef PBKDF -> S2KJack Lloyd2017-09-291-1/+12
|/ | | | [ci skip]
* Windows!!!!!!!Jack Lloyd2017-09-291-1/+1
|
* Work around some MSVC 2013 sillynessJack Lloyd2017-09-291-1/+3
|
* Ensure files are closed before trying to remove itJack Lloyd2017-09-291-0/+4
| | | | Windows ...
* Avoid using std::rand in test codeJack Lloyd2017-09-291-2/+4
| | | | It makes static analyzers mad
* Avoid throwing in pool allocator deallocation pathJack Lloyd2017-09-291-8/+1
| | | | | | std::terminate can ruin your day Coverity find
* Check return value of std::remove in testJack Lloyd2017-09-291-2/+5
| | | | Coverity find
* Further Travis matrix fiddlingJack Lloyd2017-09-291-3/+3
| | | | | The fuzzer build is still in the critical path, everything else still finished before it.
* Fiddle with Travis test ordering a bitJack Lloyd2017-09-291-6/+6
| | | | | Having several long tests at the end means we end up not being able to make good use of Travis running 5 builds for us in parallel.
* Fix test error if mceies disabledJack Lloyd2017-09-291-3/+5
| | | | [ci skip]
* Merge GH #1229 Simplify allocator and avoid MSVC perf issueJack Lloyd2017-09-291-37/+5
|\
| * Add back size_type typedefJack Lloyd2017-09-291-0/+1
| | | | | | | | | | | | | | Lacking this seems to cause interesting issues with Apple Clang on 32-bit ARM. It seems like it implicitly defines a size_type that is the same size as size_t, but not actually size_t, so we get an unsigned long vs unsigned int mismatch on the type.
| * Of course MSVC 2013 has to be specialJack Lloyd2017-09-291-0/+7
| |
| * Simplifiy secure_allocatorJack Lloyd2017-09-291-44/+4
| | | | | | | | | | | | | | | | | | According to https://howardhinnant.github.io/allocator_boilerplate.html we don't need most of what was in there in C++11 and later. I think I originally wrote that code referencing a C++03 doc. Specifically avoiding construct, destruct prevents a performance issue in MSVC (GH #1228)