Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add wrappers for reinterpret_cast between char* and uint8_t* | Jack Lloyd | 2017-10-03 | 29 | -66/+85 |
| | | | | | | | Generally speaking reinterpret_cast is sketchy stuff. But the special case of char*/uint8_t* is both common and safe. By isolating those, the remaining (likely sketchy) cases are easier to grep for. | ||||
* | Remove redundant parens | Jack Lloyd | 2017-10-03 | 7 | -8/+8 |
| | | | | Sonar | ||||
* | Remove redundant return statement | Jack Lloyd | 2017-10-02 | 1 | -1/+1 |
| | |||||
* | Move block to its own function | Jack Lloyd | 2017-10-02 | 1 | -17/+21 |
| | |||||
* | Remove various unused variables | Jack Lloyd | 2017-10-02 | 10 | -14/+9 |
| | | | | Sonar finds | ||||
* | Remove unnecessary virtuals from final classes | Jack Lloyd | 2017-10-02 | 6 | -10/+6 |
| | | | | Found with Sonar | ||||
* | Uppercase constants | Jack Lloyd | 2017-10-02 | 1 | -12/+15 |
| | |||||
* | Use class for exception types | Jack Lloyd | 2017-10-02 | 2 | -5/+9 |
| | |||||
* | Remove protected functions from final classes | Jack Lloyd | 2017-10-02 | 8 | -38/+8 |
| | | | | | | Mostly residue from the old system of splitting impls among subclasses Found with Sonar | ||||
* | Make TLS::Blocking_Client non-final | Jack Lloyd | 2017-10-02 | 1 | -1/+1 |
| | | | | It is intended for derivation! Just not tested... | ||||
* | sigemptyset is a macro on OS X | Jack Lloyd | 2017-10-02 | 1 | -1/+1 |
| | |||||
* | Remove protected m_handle data from PKCS11::Object | Jack Lloyd | 2017-10-02 | 3 | -6/+18 |
| | |||||
* | Make m_emsa in PK_{Signature,Verification}_with_EMSA private | Jack Lloyd | 2017-10-02 | 2 | -4/+7 |
| | |||||
* | Make EMSA1 data private | Jack Lloyd | 2017-10-02 | 1 | -6/+4 |
| | | | | It was already final so leaving data as protected makes no sense... | ||||
* | Make kv in TLS_Text_Policy private, add protected setter | Jack Lloyd | 2017-10-02 | 2 | -0/+14 |
| | |||||
* | Remove protected data from Fixed_Output_RNG in test code | Jack Lloyd | 2017-10-02 | 1 | -31/+15 |
| | |||||
* | Remove protected data members from X509_Object | Jack Lloyd | 2017-10-02 | 5 | -41/+27 |
| | | | | Just need const accessors, no reason for any subclass to modify values. | ||||
* | Remove needless block | Jack Lloyd | 2017-10-02 | 1 | -11/+7 |
| | |||||
* | Avoid protected data member in TLS tests | Jack Lloyd | 2017-10-02 | 1 | -4/+5 |
| | |||||
* | Avoid using namespace in FFI headers | Jack Lloyd | 2017-10-02 | 5 | -7/+3 |
| | | | | Internal only headers but Sonar doesn't know that | ||||
* | Prefix names in global namespace with :: | Jack Lloyd | 2017-10-02 | 3 | -7/+7 |
| | |||||
* | Fix parsing of git datestamps in release script | Jack Lloyd | 2017-10-02 | 1 | -4/+4 |
| | | | | [ci skip] | ||||
* | Remove redundant "virtual override" declarations. | Jack Lloyd | 2017-10-02 | 11 | -41/+39 |
| | |||||
* | Disabling autodetection doesn't help if we force it in travis.yml | Jack Lloyd | 2017-10-01 | 1 | -1/+1 |
| | |||||
* | Ugh, disable ccache on Sonar build | Jack Lloyd | 2017-10-01 | 1 | -2/+2 |
| | | | | It seems ccache doesn't handle -fprofile-instr-generate correctly. | ||||
* | Gah, remove llvm not install it! | Jack Lloyd | 2017-10-01 | 1 | -1/+1 |
| | |||||
* | Remove llvm package on Travis so we get a recent llvm-cov | Jack Lloyd | 2017-10-01 | 1 | -0/+3 |
| | |||||
* | Remove another expensive keygen test | Jack Lloyd | 2017-10-01 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Need SoftHSM for sonar build now | Jack Lloyd | 2017-10-01 | 1 | -3/+9 |
| | |||||
* | Fix some cast warnings from Sonar | Jack Lloyd | 2017-10-01 | 7 | -15/+18 |
| | |||||
* | Get coverage reports in Sonar | Jack Lloyd | 2017-10-01 | 3 | -35/+48 |
| | |||||
* | Use explicit :: or std:: to refer to functions in namespaces | Jack Lloyd | 2017-10-01 | 4 | -7/+7 |
| | |||||
* | Remove 2048-bit keygen tests | Jack Lloyd | 2017-10-01 | 2 | -2/+2 |
| | | | | Slow, and doesn't buy us much vs just the 1024 bit test. | ||||
* | Use explicit_bzero on OpenBSD | Jack Lloyd | 2017-09-30 | 2 | -2/+8 |
| | | | | [ci skip] | ||||
* | Move Clang -Wunreachable-code warning to maintainer mode | Jack Lloyd | 2017-09-30 | 1 | -2/+2 |
| | | | | | In older Clangs it produces false positives on compiler intrinsics and these will just frighten the user ;) | ||||
* | Remove unused namespace | Jack Lloyd | 2017-09-30 | 1 | -4/+0 |
| | |||||
* | Avoid -size_t | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Guard against self-assignment | Jack Lloyd | 2017-09-30 | 2 | -0/+6 |
| | | | | Found with Sonar | ||||
* | Change this code so Sonar understands div by zero can't happen | Jack Lloyd | 2017-09-30 | 1 | -2/+3 |
| | |||||
* | Use class here | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Fix bad comparison | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | | | Caught by Sonar | ||||
* | Switch Sonar analysis to a private organization | Jack Lloyd | 2017-09-30 | 2 | -4/+5 |
| | | | | | I think this allows us to use custom quality profiles (ie, disable or edit rulesets). | ||||
* | Fix Sonar exclusion | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Another FFI struct vs class fix | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Retract explicit on OID | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | | | This conversion is often useful | ||||
* | FFI objects have to be structs because we expose them to C | Jack Lloyd | 2017-09-30 | 2 | -5/+4 |
| | |||||
* | Use explicit on more single-argument constructors | Jack Lloyd | 2017-09-30 | 14 | -20/+23 |
| | |||||
* | Avoid bogus declarations in GMAC | Jack Lloyd | 2017-09-30 | 1 | -25/+3 |
| | | | | | These functions are declared/defined on MessageAuthenticationCode, and call the start_msg virtual. | ||||
* | More fiddling with Sonar | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Address some MSVC warnings | Jack Lloyd | 2017-09-30 | 8 | -135/+140 |
| |