Commit graph

4118 commits

Author SHA1 Message Date
Manuel Pégourié-Gonnard ea35666f50 Fix -Wshadow warnings
Checked that it is supported by gcc 4.2.1 (FreeBSD 9).

fixes #240
2015-08-31 10:34:26 +02:00
Manuel Pégourié-Gonnard 4d04cdcd12 Fix RSA mutex fix
Once the mutex is acquired, we must goto cleanup rather that return.
Since cleanup adjusts the return value, adjust that in test cases.

Also, at cleanup we don't want to overwrite 'ret', or we'll loose track of
errors.

see #257
2015-08-31 09:31:55 +02:00
Manuel Pégourié-Gonnard 6a6619b24b Fix last edit 2015-08-31 09:29:08 +02:00
Manuel Pégourié-Gonnard 435314d99c Merge pull request #263 from iriark01/patch-6
Small edit
2015-08-31 09:24:19 +02:00
Irit Arkin 9cdd0d55f2 Small edit 2015-08-28 09:27:57 +01:00
Manuel Pégourié-Gonnard cbee3f76f6 Merge pull request #262 from iriark01/patch-5
Small edit
2015-08-27 17:10:44 +02:00
Manuel Pégourié-Gonnard fe3fda5de0 Merge pull request #261 from iriark01/patch-4
Small edit
2015-08-27 17:10:40 +02:00
Manuel Pégourié-Gonnard 2823661550 Merge pull request #260 from iriark01/patch-3
Small edit
2015-08-27 17:10:34 +02:00
Manuel Pégourié-Gonnard c816476a54 Merge pull request #259 from iriark01/patch-2
Very small edit
2015-08-27 17:10:27 +02:00
Irit Arkin 36936bff6e Small edit 2015-08-27 15:57:54 +01:00
Irit Arkin fb40410547 Small edit 2015-08-27 15:56:44 +01:00
Irit Arkin c4d9d32b62 Small edit 2015-08-27 15:47:00 +01:00
Irit Arkin cd8c0fbf60 Very small edit 2015-08-27 15:44:11 +01:00
Manuel Pégourié-Gonnard 1385a289f4 Fix possible mutex lock/unlock mismatch
fixes #257
2015-08-27 11:30:58 +02:00
Manuel Pégourié-Gonnard 3dce9ec3af Sync yotta and general readme again 2015-08-27 10:07:09 +02:00
Manuel Pégourié-Gonnard 9acf88bdff Ship license files with the yotta module 2015-08-25 10:58:24 +02:00
Simon Butcher 5719aa121c Merge pull request #255 from iriark01/patch-1
Approved for merge.
2015-08-24 15:34:19 +01:00
Irit Arkin 4d8edd544c Edited
Not a major edit
2015-08-24 13:50:25 +01:00
Manuel Pégourié-Gonnard d0422a45f1 Bump patch version for yotta 2015-08-21 14:09:38 +02:00
Manuel Pégourié-Gonnard fe626138e8 Add proper destructor for HelloHTTPS
Just as a matter of principle
2015-08-20 12:00:58 +02:00
Manuel Pégourié-Gonnard 324fc02b1a Synchronise top-level and yotta READMEs
And fix two typos while at it
2015-08-20 11:51:53 +02:00
Simon Butcher a150050555 Merge branch 'development' of ssh://github.com/ARMmbed/mbedtls into development
Conflicts:
	yotta/data/example-authcrypt/README.md
	yotta/data/example-benchmark/README.md
	yotta/data/example-hashing/README.md
	yotta/data/example-selftest/README.md
	yotta/data/example-tls-client/README.md
2015-08-19 20:29:31 +01:00
Simon Butcher df81924a7a Fixed issues in Yotta examples README's
Fixed README's in Yotta examples and updated certificate reference in
TLS Client.
2015-08-19 19:33:27 +01:00
Manuel Pégourié-Gonnard 38db006e0c Finish test in pkwrite 2015-08-19 10:24:34 +02:00
Manuel Pégourié-Gonnard e50f67c18a Fix debug mode in example-tls-client
Fixes #242
2015-08-18 20:52:18 +02:00
Manuel Pégourié-Gonnard 1a18aaecde Update output of example-tls-client in its readme 2015-08-18 20:38:22 +02:00
Manuel Pégourié-Gonnard 0819e6f50c Merge remote-tracking branch 'tmp/readme-fix' into development
* tmp/readme-fix:
  Removing yt ls step in READMEs of examples
2015-08-18 20:29:06 +02:00
Manuel Pégourié-Gonnard e578b1c79a Relax timing_self_test for windows idiosyncrasies 2015-08-18 20:11:48 +02:00
Brian Daniels 3c405aefc5 Removing yt ls step in READMEs of examples 2015-08-18 10:52:57 -07:00
Manuel Pégourié-Gonnard 04b7eec539 Fix pkwrite test that were failing on mingw32
Apparently fread() writes some junk after the contents of the file. Don't look
at it.
2015-08-18 19:49:40 +02:00
Manuel Pégourié-Gonnard bd6d0aba25 Fix usage of minar in example-tls-client
Also sync with mbed-example-network's helloworld-tcpclient while at it.
2015-08-18 18:18:16 +02:00
Manuel Pégourié-Gonnard ee4cb7d5aa Remove warning about needing future yotta version
The future is now ;)
2015-08-17 14:42:02 +02:00
Manuel Pégourié-Gonnard 493f065818 Cosmetics in create-module.sh 2015-08-17 14:23:43 +02:00
Manuel Pégourié-Gonnard 42618b870a Use more reliable host in example-tls-client
Apparently TLS on mbed.org is broken again
2015-08-17 14:19:38 +02:00
Manuel Pégourié-Gonnard 708b6eeca1 Ifx typos in readme 2015-08-13 16:06:12 +02:00
Manuel Pégourié-Gonnard 5f9245dce9 Fix broken links (s/tree/blob/) 2015-08-13 16:03:12 +02:00
Manuel Pégourié-Gonnard 721f711333 Use development for repo links
Avoids broken links while the targets are not yet in master
2015-08-13 15:56:25 +02:00
Manuel Pégourié-Gonnard addd52fdde Add description for the yotta module 2015-08-12 11:37:30 +02:00
Manuel Pégourié-Gonnard 46c4fa16ab Fix missing casts on return
closes #236
2015-08-12 09:27:55 +02:00
Manuel Pégourié-Gonnard 950715659d Update sockets dependency version (yotta/mbed) 2015-08-11 16:00:36 +02:00
Manuel Pégourié-Gonnard e2b0efe24b Separate license from comments in config.h 2015-08-11 10:38:37 +02:00
Manuel Pégourié-Gonnard 47943aee91 Bump yotta patch version 2015-08-11 10:10:26 +02:00
Manuel Pégourié-Gonnard c98204e68f Fix missing break in switch for SSL presets
closes #235
2015-08-11 04:21:01 +02:00
Manuel Pégourié-Gonnard e87b04caed Upgrade to latest mbed-drivers version 2015-08-11 04:09:44 +02:00
Manuel Pégourié-Gonnard 91bbfb6fb7 Make timing selftest less sensitive
- allow up to 12.5% security/error margin
- use larger delays
- this avoid the security/error margin being too low

The test used to fail about 1 out of 6 times on some buildbots VMs, but never
failed on the physical machines used for development.
2015-08-10 14:33:12 +02:00
Manuel Pégourié-Gonnard 4b7027a8da Avoid race condition in test
Apparently openssl s_server does not flush stdout, anyway sometimes the client
receives the reply and exits, thus terminating the test, before is request is
visible on the server's stdout. So, just don't check that, checking the
client's output and exit code is already enough.
2015-08-10 13:18:48 +02:00
Manuel Pégourié-Gonnard ac50fc5e2f Fix typo in doc 2015-08-10 13:07:09 +02:00
Manuel Pégourié-Gonnard 854dab96fe Fix the fix for armcc5 --gnu
Only exclude armcc5, not armcc6.
2015-08-10 12:11:31 +02:00
Manuel Pégourié-Gonnard ed46c436c0 Fix error when loading libmbedtls.so 2015-08-10 10:17:32 +02:00
Manuel Pégourié-Gonnard 8356fc212d Fix mbed OS TLS client example 2015-08-07 14:35:12 +02:00