Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-11-04 | Don't create fixtures for simple tests | Emilia Kasper | 5 | -138/+24 | |
The test fixtures are (meant to be) useful for sharing common setup. Don't bother when we don't have any setup/teardown. This only addresses simple tests. Parameterized tests (ADD_ALL_TESTS) will be made more user-friendly in a follow-up. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | testutil: always print errors on failure | Emilia Kasper | 12 | -17/+16 | |
Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Travis: add a strict build | Richard Levitte | 1 | -0/+3 | |
Clang on Linux seems to catch things that we might miss otherwise. Also, throw in 'no-deprecated' to make sure we test that as well. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1839) | |||||
2016-11-04 | Fix a missed size_t variable declaration | Matt Caswell | 1 | -1/+1 | |
pqueue_size() now returns a size_t, but the variable that gets returned was still declared as an int. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix some style issues from libssl size_tify review | Matt Caswell | 2 | -11/+7 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Tweak the SSL_read()/SSL_write() text based on feedback received. | Matt Caswell | 2 | -3/+3 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Rename all "read" variables with "readbytes" | Matt Caswell | 8 | -72/+73 | |
Travis is reporting one file at a time shadowed variable warnings where "read" has been used. This attempts to go through all of libssl and replace "read" with "readbytes" to fix all the problems in one go. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Clarify the return values for SSL_read_ex()/SSL_write_ex() | Matt Caswell | 2 | -4/+17 | |
Give more detail on what constitutes success/failure. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix a shadowed variable declaration warning picked up by Travis | Matt Caswell | 1 | -3/+3 | |
Rename "read" to "readbytes" Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Document the HMAC_size() function | Matt Caswell | 1 | -1/+9 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Test the size_t constant time functions | Matt Caswell | 2 | -7/+112 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Ensure SSL_DEBUG works following size_t changes | Matt Caswell | 2 | -3/+3 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Clarify the return values for the peek functions | Matt Caswell | 1 | -3/+3 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Updates various man pages based on review feedback received. | Matt Caswell | 6 | -95/+86 | |
Improvements to style, grammar etc. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix style issues in HMAC_size() | Matt Caswell | 1 | -3/+2 | |
Based on review feedback. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix some bogus warnings about uninitialised variables | Matt Caswell | 1 | -2/+2 | |
Travis was failing in some builds due to a bogus complaint about uninit variables. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix some clashing symbol numbers due to merge conflict | Matt Caswell | 1 | -3/+3 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Document the newly added SSL functions | Matt Caswell | 8 | -110/+142 | |
Also document SSL_peek() which was missing from the docs. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Remove a stray TODO that has already been fixed | Matt Caswell | 2 | -7/+1 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Provide some constant time functions for dealing with size_t values | Matt Caswell | 3 | -23/+72 | |
Also implement the using of them Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Ensure HMAC_size() handles errors correctly | Matt Caswell | 1 | -1/+4 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Now that we can use size_t in PACKET lets use it | Matt Caswell | 1 | -4/+2 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix misc size_t issues causing Windows warnings in 64 bit | Matt Caswell | 17 | -112/+137 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert the mac functions to just return 1 for success and 0 for failure | Matt Caswell | 3 | -25/+23 | |
Previously they return -1 for failure or the size of the mac. But the size was never used anywhere. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix some ssl3_record code witch converstion to/from size_t | Matt Caswell | 1 | -15/+17 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Add some PACKET functions for size_t | Matt Caswell | 2 | -3/+55 | |
And use them in the DTLS code Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert SSL BIO to use SSL_write_ex(). | Matt Caswell | 2 | -72/+61 | |
We also modify the SSL_get_error() function to handle the fact that with SSL_write_ex() the error return is 0 not -1, and fix some bugs in the SSL BIO reading. Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Fix some missed size_t updates | Matt Caswell | 13 | -49/+38 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Resolve some outstanding size_t related TODOs | Matt Caswell | 3 | -15/+4 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Update misc function params in libssl for size_t | Matt Caswell | 4 | -11/+12 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert some libssl local functions to size_t | Matt Caswell | 5 | -18/+18 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Update cookie_len for size_t | Matt Caswell | 3 | -7/+9 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Update numerous misc libssl fields to be size_t | Matt Caswell | 6 | -46/+52 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert session_id_length and sid_ctx_len to size_t | Matt Caswell | 6 | -24/+31 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert master_secret_size code to size_t | Matt Caswell | 8 | -67/+93 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert various mac_secret_size usage to size_t | Matt Caswell | 2 | -5/+6 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert ssl3_cbc_digest_record for size_t | Matt Caswell | 2 | -7/+9 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert some misc record layer functions for size_t | Matt Caswell | 5 | -47/+80 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert SSL3_RECORD_clear() and SSL3_RECORD_release() to size_t | Matt Caswell | 2 | -6/+6 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert libssl writing for size_t | Matt Caswell | 17 | -216/+270 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Further libssl size_t-ify of reading | Matt Caswell | 18 | -175/+252 | |
Writing still to be done Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Convert record layer to use size_t | Matt Caswell | 4 | -42/+55 | |
Reviewed-by: Rich Salz <rsalz@openssl.org> | |||||
2016-11-04 | Remove an unused field in ossl_shim | Matt Caswell | 1 | -1/+0 | |
Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Add a wildcard exception for TLS13 tests | Matt Caswell | 1 | -0/+1 | |
Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Swap header copyrights to standard OpenSSL | Matt Caswell | 7 | -84/+49 | |
As per permission from Google (Emilia). Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Add missing bn.h include | Matt Caswell | 1 | -0/+1 | |
Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Update the BoringSSL suppressions file based on the latest shim | Matt Caswell | 1 | -591/+337 | |
The updated shim has the ability to skip tests using unimplemented flags. This should reduce the number of test failures. Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Rename BoringSSL style OPENSSL_WINDOWS to OPENSSL_SYS_WINDOWS | Matt Caswell | 2 | -3/+3 | |
Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Fix a code inconsistency | Matt Caswell | 1 | -4/+2 | |
Move from two ifs to a single one with an && Reviewed-by: Richard Levitte <levitte@openssl.org> | |||||
2016-11-04 | Remove some #if 0'd out code | Matt Caswell | 1 | -6/+0 | |
It was only a sanity check anyway, so isn't needed Reviewed-by: Richard Levitte <levitte@openssl.org> |