aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge GH #1232 Only require socket code if http_util is loadedJack Lloyd2017-10-037-305/+368
|\
| * Add missing windows.h include in os_utils.cppSimon Warta2017-10-031-0/+3
| |
| * Add missing include mem_ops.h in socket.cppSimon Warta2017-10-031-0/+2
| | | | | | | | cast_uint8_ptr_to_char is required by Winsock_Socket
| * Move socket implementation into module http_utilSimon Warta2017-10-037-308/+366
| | | | | | | | | | This removes the requirement of linking socket libraries for applications that do not use http_util
* | Avoid empty methods, use =default or add a commentJack Lloyd2017-10-0321-41/+29
| | | | | | | | Sonar
* | Merge GH #1233 Fix missing include in OpenSSL codeJack Lloyd2017-10-031-0/+1
|\ \ | |/ |/|
| * Add missing cstdlib include to openssl_rsa.cppilovezfs2017-10-031-0/+1
|/ | | | Fixes the build with Xcode 8 and earlier.
* Remove redundant private: specifierJack Lloyd2017-10-031-1/+1
| | | | [ci skip]
* Avoid leaking SONAR_TOKEN in the build logJack Lloyd2017-10-032-2/+3
|
* Add static_cast to avoid conversion warningJack Lloyd2017-10-031-1/+2
| | | | | I guess we're in trouble if we add any block ciphers with size >= 2^31 Probably fine.
* Force expand_mask to be on T instead of intJack Lloyd2017-10-031-1/+1
| | | | Which is what the expression evaluates to. Caught by MSVC warning.
* MSVC wants __declspec(restrict) on both declaration and definitionJack Lloyd2017-10-031-1/+1
| | | | Thankfully GCC doesn't mind it being on the definition.
* Add wrappers for reinterpret_cast between char* and uint8_t*Jack Lloyd2017-10-0329-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 parensJack Lloyd2017-10-037-8/+8
| | | | Sonar
* Remove redundant return statementJack Lloyd2017-10-021-1/+1
|
* Move block to its own functionJack Lloyd2017-10-021-17/+21
|
* Remove various unused variablesJack Lloyd2017-10-0210-14/+9
| | | | Sonar finds
* Remove unnecessary virtuals from final classesJack Lloyd2017-10-026-10/+6
| | | | Found with Sonar
* Uppercase constantsJack Lloyd2017-10-021-12/+15
|
* Use class for exception typesJack Lloyd2017-10-022-5/+9
|
* Remove protected functions from final classesJack Lloyd2017-10-028-38/+8
| | | | | | Mostly residue from the old system of splitting impls among subclasses Found with Sonar
* Make TLS::Blocking_Client non-finalJack Lloyd2017-10-021-1/+1
| | | | It is intended for derivation! Just not tested...
* sigemptyset is a macro on OS XJack Lloyd2017-10-021-1/+1
|
* Remove protected m_handle data from PKCS11::ObjectJack Lloyd2017-10-023-6/+18
|
* Make m_emsa in PK_{Signature,Verification}_with_EMSA privateJack Lloyd2017-10-022-4/+7
|
* Make EMSA1 data privateJack Lloyd2017-10-021-6/+4
| | | | It was already final so leaving data as protected makes no sense...
* Make kv in TLS_Text_Policy private, add protected setterJack Lloyd2017-10-022-0/+14
|
* Remove protected data from Fixed_Output_RNG in test codeJack Lloyd2017-10-021-31/+15
|
* Remove protected data members from X509_ObjectJack Lloyd2017-10-025-41/+27
| | | | Just need const accessors, no reason for any subclass to modify values.
* Remove needless blockJack Lloyd2017-10-021-11/+7
|
* Avoid protected data member in TLS testsJack Lloyd2017-10-021-4/+5
|
* Avoid using namespace in FFI headersJack Lloyd2017-10-025-7/+3
| | | | Internal only headers but Sonar doesn't know that
* Prefix names in global namespace with ::Jack Lloyd2017-10-023-7/+7
|
* Bump version to 2.4.0-preJack Lloyd2017-10-022-2/+6
|
* Update for 2.3.0 release2.3.0Jack Lloyd2017-10-022-8/+8
|
* 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-303-4/+10
| | | | [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
|