36796df815
Added missing stdio in lib x509.c needed for sscanf
2015-02-13 13:50:05 +00:00
d08a605dac
Remove platform guard in mem buffer alloc
2015-02-13 13:50:05 +00:00
85b05ec389
Cleanup programs further
...
removed casting of main args to void
2015-02-13 13:50:05 +00:00
18b78c7498
cleanup programs
...
Clean up the contents of programs, add more guards to includes, move all
defines to the top of the top of files, remove some unused includes
2015-02-13 13:50:05 +00:00
3cfb34564f
Avoid warning from mingw for shared library
2015-02-13 13:34:08 +00:00
418080010a
Replace SONAME with SOVERSION in makefile
...
- avoids duplication
- fixes warning about redefined rule with WINDOWS=1
2015-02-13 13:15:13 +00:00
5d46cca09a
Require unix-utils in path for windows make
2015-02-13 12:02:45 +00:00
d72704b0d5
Remove work-around for alleged compiler bug
...
It turns out the problem was with the way the reporter was invoking its
toolchain, not the toolchain itself.
2015-02-12 09:38:54 +00:00
2ee8d24ca2
Simplify some constant-time code
...
Some people recommend using bit operations to avoid the compiler producing a
branch on `ret != 0`, but:
- this makes the code less readable,
- here I got a warning from some compilers about unsigned unary minus
- and anyway modern compilers don't produce a branch here, checked on x64 and
arm with various -O values.
2015-02-11 15:29:15 +00:00
06d7519697
Fix msvc warning
2015-02-11 14:54:11 +00:00
fba22fdc7e
Avoid warning from ar
2015-02-11 14:24:47 +00:00
6d71e4e6c3
Fix one more warning on windows
2015-02-11 12:54:35 +00:00
dda5213982
Fix harmless warnings with mingw in timing.c
2015-02-11 12:33:40 +00:00
38433535e3
Fix hardclock() with mingw64
2015-02-11 12:33:40 +00:00
c5c5939577
Add armcc to all.sh if available
2015-02-10 17:38:54 +01:00
a273371fc4
Fix "int vs enum" warnings from armcc v5
...
enumerated type mixed with another type
2015-02-10 17:34:48 +01:00
7f84905552
Fix two warnings from armcc v5
...
assignment in condition
2015-02-10 17:34:35 +01:00
015e48df6e
Fix soname mistake
mbedtls-1.3.10
2015-02-10 17:00:42 +01:00
63adb49062
Fix compile warning in tests/
...
where result_len at tests/suites/test_suite_ccm.function:165 is
potentially uninitialized using gcc-4.8.2.
2015-02-10 14:37:49 +00:00
edb2dc93c6
Add some cross-compile runs to all.sh
2015-02-10 14:36:31 +00:00
45ec8da7e5
Fix missing include in i386-specific file
2015-02-10 13:50:47 +00:00
0c851ee1c8
Fix missing include in non-default things
2015-02-10 12:47:52 +00:00
1cc0a3405c
Fix missing includes in program
2015-02-10 12:18:15 +00:00
677af93baa
Update Changelog for the cleanup branch
2015-02-10 11:41:57 +00:00
d3cae19df8
Merge branch 'cleanup' into development
...
* cleanup:
change test function includes to use one convention
cleanup library and some basic tests. Includes, add guards to includes
modify include .gitignore to ignore check_config generated when build fails due to incorrect config
fix bug in makefile that a test doesn't count as a fail even if an assertion fails by inverting logic
fix style issues with tests/suites/helpers.function
fix always true assertion
2015-02-10 11:36:55 +00:00
6f60cd848b
Move from SHA-1 to SHA-256 as default in programs
2015-02-10 11:31:58 +00:00
ce2f237697
change test function includes to use one convention
2015-02-10 11:28:46 +00:00
00ab47026b
cleanup library and some basic tests. Includes, add guards to includes
2015-02-10 11:28:46 +00:00
70dbfaa9ea
README typos
2015-02-10 10:21:04 +00:00
e83ac1d7d1
modify include .gitignore to ignore check_config generated when build fails due to incorrect config
2015-02-10 10:14:15 +00:00
b1c846e41f
fix bug in makefile that a test doesn't count as a fail even if an assertion fails by inverting logic
2015-02-10 10:14:15 +00:00
4291445377
fix style issues with tests/suites/helpers.function
2015-02-10 10:14:15 +00:00
1fef5ff5ec
fix always true assertion
2015-02-10 10:14:15 +00:00
7bf1976034
Prepare Changelog for 1.3 branch development
...
This is meant to minimize/simplify merge conflict between topic branches.
2015-02-10 10:09:37 +00:00
82cf0a1f9a
Fix for openssl s_server oddity in 1.0.2
2015-02-09 13:05:54 +00:00
f7d2bbaa62
Merge branch 'development' into dtls
...
* development:
Add missing guards for gnuTLS
Prepare for mbed TLS 1.3.10 release
Fix potential timing issue in RSA pms handling
Conflicts:
ChangeLog
doxygen/input/doc_mainpage.h
doxygen/mbedtls.doxyfile
include/polarssl/version.h
library/CMakeLists.txt
library/ssl_srv.c
tests/suites/test_suite_version.data
visualc/VS2010/mbedTLS.vcxproj
visualc/VS6/mbedtls.dsp
visualc/VS6/mbedtls.dsw
2015-02-09 11:42:40 +00:00
539d972a25
Add missing guards for gnuTLS
2015-02-08 16:18:35 +01:00
daae3b749b
Prepare for mbed TLS 1.3.10 release
2015-02-08 15:49:54 +01:00
ce661b2cb8
Perf: rewrite of ecp_double_jac
...
- Improve optimization for special case A == -3.
- Add optimization for special case A == 0.
- Use alternative base formula, saving several additions.
- Reduce temp variables to 4 (from 6).
2015-02-07 14:43:51 +07:00
6674cce892
Fix potential timing issue in RSA pms handling
2015-02-06 11:36:56 +00:00
4eaf8f02bb
Merge branch 'development' into dtls
...
* development:
Support composite RDNs in X.509 certs parsing
2015-02-05 11:01:37 +00:00
555fbf8758
Support composite RDNs in X.509 certs parsing
2015-02-04 17:11:55 +00:00
20343cfec9
Merge branch 'development' into dtls
...
* development:
Add attribution
Fix ignore patterns for windows cmake again
2015-02-03 11:31:06 +00:00
aa422b2f1a
Add attribution
2015-02-02 09:30:45 +00:00
9b36433e6a
Fix ignore patterns for windows cmake again
2015-01-29 13:43:10 +00:00
f224678864
Fix remaining printfs in programs
2015-01-29 13:29:20 +00:00
226d37ac6f
Fix merge issue
2015-01-29 13:15:48 +00:00
b8a923db2b
Merge branch 'development' into dtls
...
* development:
Fix left out printf's
2015-01-29 11:53:35 +00:00
7e81e7003f
Fix left out printf's
2015-01-29 11:47:41 +00:00
3d2c4b70f2
Fix url in new files
2015-01-29 11:34:14 +00:00