Commit Graph

  • acecb653d5 Fix mbedtls_net_usleep() on Windows Manuel Pégourié-Gonnard 2015-07-01 11:29:31 +02:00
  • d3a9166afe Adjust prerequisites for tests in cmake Manuel Pégourié-Gonnard 2015-07-01 10:06:27 +02:00
  • abc729e664 Simplify net_accept() with UDP sockets Manuel Pégourié-Gonnard 2015-07-01 01:28:24 +02:00
  • db2468d7aa Update old comment Manuel Pégourié-Gonnard 2015-06-30 17:19:48 +02:00
  • 3d7d00ad23 Rename mbedtls_net_close() to mbedtls_net_free() Manuel Pégourié-Gonnard 2015-06-30 15:55:03 +02:00
  • 5db64328ab Adapt programs to the new NET API Manuel Pégourié-Gonnard 2015-06-30 15:40:39 +02:00
  • 91895853ac Move from naked int to a structure in net.c Manuel Pégourié-Gonnard 2015-06-30 13:34:45 +02:00
  • 16a17a496c Fix net_accept() for UDP sockets on Windows Manuel Pégourié-Gonnard 2015-06-30 11:20:22 +02:00
  • a16e7c468c Rename a debug function Manuel Pégourié-Gonnard 2015-06-29 20:14:19 +02:00
  • 80d627a5ae Remove now useless function Manuel Pégourié-Gonnard 2015-06-29 20:12:51 +02:00
  • b74c245a20 Rework debug to not need dynamic alloc Manuel Pégourié-Gonnard 2015-06-29 20:08:23 +02:00
  • 56e245d959 Only do dynamic alloc when necessary Manuel Pégourié-Gonnard 2015-06-29 19:52:44 +02:00
  • 925a72628b Avoid formatting debug message uselessly Manuel Pégourié-Gonnard 2015-06-29 19:06:14 +02:00
  • a7c8903ca6 Add missing programs to Makefile Manuel Pégourié-Gonnard 2015-06-29 15:47:35 +02:00
  • 78a428dbd0 Fix unchecked malloc() Manuel Pégourié-Gonnard 2015-06-29 19:00:15 +02:00
  • 26d88cf154 Fix thread-safety issue in debug.c Manuel Pégourié-Gonnard 2015-06-27 11:48:01 +02:00
  • 5324d411da Up min size of DHM params to 1024 bits Manuel Pégourié-Gonnard 2015-06-26 18:20:34 +02:00
  • 6461f368d8 Use good DH params with OpenSSL in tests Manuel Pégourié-Gonnard 2015-06-29 16:20:13 +02:00
  • 006f655218 Add forgotten programs in Makefile Manuel Pégourié-Gonnard 2015-06-29 15:19:17 +02:00
  • 9ea1b23cc4 Up min size of DHM params to 1024 bits on client Manuel Pégourié-Gonnard 2015-06-29 15:27:52 +02:00
  • 6c3ccf5fd0 Fix thread-safety issue in debug.c Manuel Pégourié-Gonnard 2015-06-29 14:57:45 +02:00
  • fa67ebaebb Fix X.509 keysize check with multiple CAs Manuel Pégourié-Gonnard 2015-06-27 14:41:38 +02:00
  • 1c5b9fc19f Avoid truncating peer cert info in ssl_server2 Manuel Pégourié-Gonnard 2015-06-27 14:38:51 +02:00
  • f659d2cd40 Tune up Windows snprintf() support Manuel Pégourié-Gonnard 2015-06-26 17:45:00 +02:00
  • fc36708697 Use $(MAKE), not make Manuel Pégourié-Gonnard 2015-06-26 16:50:24 +02:00
  • 7b209579c6 Prepare for 1.2.14 release polarssl-1.2.14 Paul Bakker 2015-06-26 15:35:30 +01:00
  • 633c6b6485 Run timing selftest on all platforms Manuel Pégourié-Gonnard 2015-06-26 16:17:30 +02:00
  • 03db6b0da1 Cosmetics in test scripts Manuel Pégourié-Gonnard 2015-06-26 15:45:30 +02:00
  • 4fd0b256a8 Fix dual use of buffer in test Manuel Pégourié-Gonnard 2015-06-26 14:15:48 +02:00
  • 4b00f08e20 Fix snprintf test Manuel Pégourié-Gonnard 2015-06-26 11:24:32 +02:00
  • 9db2887672 Actually enable fixed snprintf on windows Manuel Pégourié-Gonnard 2015-06-26 10:52:01 +02:00
  • e1d34d1707 cmake: add shortcut 'lib' for all libraries Manuel Pégourié-Gonnard 2015-06-25 14:53:13 +02:00
  • 574ae18088 Fix stupid typo that broke make SHARED=1 Manuel Pégourié-Gonnard 2015-06-25 14:30:22 +02:00
  • ea9556a76e Fix mistaken changes in Makefile's clean target Manuel Pégourié-Gonnard 2015-06-25 14:18:20 +02:00
  • dc54ff8578 Improve documentation about SSL ticket encryption Manuel Pégourié-Gonnard 2015-06-25 12:44:46 +02:00
  • a25ffc3b0f Update Changelog for target split Manuel Pégourié-Gonnard 2015-06-25 12:01:16 +02:00
  • 147be4f315 Rm old variable from (c)make files Manuel Pégourié-Gonnard 2015-06-25 11:57:13 +02:00
  • 752c501126 One soversion per library Manuel Pégourié-Gonnard 2015-06-25 11:54:52 +02:00
  • ace35999b0 Fix GNUism in bump_version.sh Manuel Pégourié-Gonnard 2015-06-25 11:51:12 +02:00
  • f7c42d885c Update visualc projects Manuel Pégourié-Gonnard 2015-06-25 11:29:35 +02:00
  • 6dc2651f02 Cosmetics Manuel Pégourié-Gonnard 2015-06-25 10:48:24 +02:00
  • c84d0e1ec1 Use LD_LIBRARY_PATH to run test with SHARED=1 Manuel Pégourié-Gonnard 2015-06-25 10:44:31 +02:00
  • 9b06abe1d1 Add a shared build with make on Linux to all.sh Manuel Pégourié-Gonnard 2015-06-25 09:56:07 +02:00
  • c7781addcb Split library in CMake Manuel Pégourié-Gonnard 2015-06-25 09:49:02 +02:00
  • ba2c8763b6 cmake: adjust libraries linking Manuel Pégourié-Gonnard 2015-06-25 09:35:46 +02:00
  • c8293b20a9 cmake: no reason for test to depend on gcc/clang Manuel Pégourié-Gonnard 2015-06-25 09:22:25 +02:00
  • 216a1831de Fix whitespace in CMakeLists.txt Manuel Pégourié-Gonnard 2015-06-25 09:20:03 +02:00
  • e058ea2ed8 More consistent toolchains in all.sh Manuel Pégourié-Gonnard 2015-06-25 09:04:13 +02:00
  • cde2aba0af Do no test net_usleep in timing_selftest Manuel Pégourié-Gonnard 2015-06-25 08:55:13 +02:00
  • 53585eeb17 Remove test DHM params from certs.c Manuel Pégourié-Gonnard 2015-06-25 08:52:25 +02:00
  • 21e1ac205e Fix linking order with make Manuel Pégourié-Gonnard 2015-06-25 08:45:12 +02:00
  • 0761733c1b Fix potential NULL dereference Manuel Pégourié-Gonnard 2015-06-24 23:00:03 +02:00
  • dba460f2f3 Add SSL "assertion" to help static analysis Manuel Pégourié-Gonnard 2015-06-24 22:59:30 +02:00
  • 1cf7b30dc8 Rewrite test to make Coverity happier Manuel Pégourié-Gonnard 2015-06-24 22:28:19 +02:00
  • db5d15e227 Minor tune-ups in CMake Manuel Pégourié-Gonnard 2015-06-24 15:01:15 +02:00
  • 5c59a4fea5 Split libs with make + general make cleanups Manuel Pégourié-Gonnard 2015-06-24 13:06:24 +02:00
  • 8d4a613cc5 Small Makefile improvements Manuel Pégourié-Gonnard 2015-06-24 12:16:20 +02:00
  • 21dcc1e748 fixup Manuel Pégourié-Gonnard 2015-06-25 10:59:15 +02:00
  • 463e09d64b Prepare library split Manuel Pégourié-Gonnard 2015-06-24 11:54:19 +02:00
  • bae389b4d4 Fix uninitialized access Manuel Pégourié-Gonnard 2015-06-24 10:45:58 +02:00
  • ac5361f7dc Fix small issues in tests found by Coverity Manuel Pégourié-Gonnard 2015-06-24 01:08:09 +02:00
  • bcc030849a Avoid fclose( NULL ) Manuel Pégourié-Gonnard 2015-06-24 00:09:29 +02:00
  • 7f9049baf4 Make config.pl more resistant to misuse Manuel Pégourié-Gonnard 2015-06-23 17:42:51 +02:00
  • 61ee351af4 Adapt programs to the new debug API Manuel Pégourié-Gonnard 2015-06-23 17:35:03 +02:00
  • 8e8ae3d961 Fix potential NULL dereference on bad usage Manuel Pégourié-Gonnard 2015-06-23 18:57:28 +02:00
  • b26b75e17b Clean up RSA PMS checking code Manuel Pégourié-Gonnard 2015-06-23 18:52:09 +02:00
  • fd474233c8 Change SSL debug API in the library Manuel Pégourié-Gonnard 2015-06-23 16:34:24 +02:00
  • 79c4e3ee59 Rm obsolete comments Manuel Pégourié-Gonnard 2015-06-23 14:29:40 +02:00
  • 52fa38a214 Better cleanup in all.sh Manuel Pégourié-Gonnard 2015-06-23 14:29:58 +02:00
  • b86145e6cd Avoid potential NULL dereference. Manuel Pégourié-Gonnard 2015-06-23 14:11:39 +02:00
  • 14bf7063b9 Add SSL "assertions" to help static analyzers Manuel Pégourié-Gonnard 2015-06-23 14:07:13 +02:00
  • b9c93d0d0a Fix earlier incomplete change in RSA PMS reading Manuel Pégourié-Gonnard 2015-06-23 13:53:15 +02:00
  • 19389753c8 Avoid dead stores (makes scan-build happier) Manuel Pégourié-Gonnard 2015-06-23 13:46:44 +02:00
  • c0d749418b Make 'port' a string in NET module Manuel Pégourié-Gonnard 2015-06-23 12:30:57 +02:00
  • e244f9ffc0 Improve doc about length of strings written Manuel Pégourié-Gonnard 2015-06-23 12:10:45 +02:00
  • d23f593737 Avoid static buffer in debug module Manuel Pégourié-Gonnard 2015-06-23 12:04:52 +02:00
  • 96fb685e31 Some more init calls Manuel Pégourié-Gonnard 2015-06-23 11:39:01 +02:00
  • 496f24e949 Deduplicate SHA-2 wrappers Manuel Pégourié-Gonnard 2015-06-23 11:34:35 +02:00
  • ab5932192a Call init functions in MD alloc wrappers Manuel Pégourié-Gonnard 2015-06-23 11:30:47 +02:00
  • 1cd10adc7c Update prototype of x509write_set_key_usage() Manuel Pégourié-Gonnard 2015-06-23 11:07:37 +02:00
  • 655a964539 Adapt check_key_usage to new weird bits Manuel Pégourié-Gonnard 2015-06-23 10:48:44 +02:00
  • 9a702255f4 Add parsing/printing for new X.509 keyUsage flags Manuel Pégourié-Gonnard 2015-06-23 10:14:36 +02:00
  • b80d16d171 Fix return convention of x509_wildcard_verify() Manuel Pégourié-Gonnard 2015-06-23 09:24:29 +02:00
  • 07894338a0 Rename M255 to Curve25519 Manuel Pégourié-Gonnard 2015-06-23 00:18:41 +02:00
  • 7320eb46d4 Remove references to some Montgomery curves Manuel Pégourié-Gonnard 2015-06-23 00:13:02 +02:00
  • 9386664543 Move from inttypes.h to stdint.h Manuel Pégourié-Gonnard 2015-06-22 19:21:23 +02:00
  • e7e89844d6 Fix and document corner-cases of time checking Manuel Pégourié-Gonnard 2015-06-22 19:15:32 +02:00
  • 57e10d71be Fix potential NULL dereference. Manuel Pégourié-Gonnard 2015-06-22 18:59:21 +02:00
  • e91e21cf1b Simplify code in test suites Manuel Pégourié-Gonnard 2015-06-22 18:47:07 +02:00
  • f9b85d96a9 Fix potential resource leak in X.509 parse dir Manuel Pégourié-Gonnard 2015-06-22 18:39:57 +02:00
  • bcf13bab5d Fix issue with MemSan and entropy Manuel Pégourié-Gonnard 2015-06-22 18:06:17 +02:00
  • 96aba64e13 Merge branch 'set_hs' into development Manuel Pégourié-Gonnard 2015-06-22 18:20:56 +02:00
  • 6ea831dcf4 Add tests for mbedtls_set_hs_ca_chain() Manuel Pégourié-Gonnard 2015-06-22 16:50:52 +02:00
  • c948a798bd Add tests for mbedtls_ssl_set_hs_authmode() Manuel Pégourié-Gonnard 2015-06-22 16:04:20 +02:00
  • 4d6f178376 Add support for SNI CA and authmode in ssl_server2 Manuel Pégourié-Gonnard 2015-06-19 14:40:39 +02:00
  • cdc26ae099 Add mbedtls_ssl_set_hs_authmode Manuel Pégourié-Gonnard 2015-06-19 12:16:31 +02:00
  • a752d8780c Merge branch 'snprintf' into development Manuel Pégourié-Gonnard 2015-06-22 14:51:28 +02:00
  • 9dbaf400ef Rationalize other snprintf() uses Manuel Pégourié-Gonnard 2015-06-22 11:50:58 +02:00
  • 1685368408 Rationalize snprintf() usage in X.509 modules Manuel Pégourié-Gonnard 2015-06-22 11:12:02 +02:00
  • 7b6dcbe993 Add tests for snprintf Manuel Pégourié-Gonnard 2015-06-22 10:48:01 +02:00