1. 19 Mar, 2019 1 commit
  2. 01 Mar, 2019 4 commits
  3. 18 Feb, 2019 1 commit
  4. 11 Feb, 2019 2 commits
  5. 07 Feb, 2019 2 commits
  6. 05 Feb, 2019 1 commit
  7. 04 Feb, 2019 1 commit
    • Peter Kolbus's avatar
      all.sh: Fix check_headers_in_cpp · 30987071
      Peter Kolbus authored
      When all.sh invokes check_headers_in_cpp, a backup config.h exists. This
      causes a stray difference vs cpp_dummy_build.cpp. Fix by only collecting
      the *.h files in include/mbedtls.
      
      Change-Id: Ifd415027e856858579a6699538f06fc49c793570
      30987071
  8. 29 Jan, 2019 1 commit
  9. 15 Jan, 2019 4 commits
    • Ron Eldor's avatar
      Force IPv4 in gnutls_cli srtp tests · 7eb96c7c
      Ron Eldor authored
      Force using IPv4 in the GNU_CLI SRTP tests, as introduced for
      other tests in #1918.
      7eb96c7c
    • Ron Eldor's avatar
      Force IPv6 for DTLS interop tests with gnutls-cli · df09b258
      Ron Eldor authored
      Since `gnutls-cli` resolves `localhost` as an IPv6 address, and the server
      is bound to IPv4 address, gnutl-cli fails to negotiate DTLS sessions.
      Force the server to bind to IPv6 address, as a workaround.
      df09b258
    • Ron Eldor's avatar
      Add interop tests · fd4f7b0f
      Ron Eldor authored
      Add some interoperability tests with openssl and gnutls, in ssl-opts.sh.
      fd4f7b0f
    • Ron Eldor's avatar
      Add tests and code to support · 2b791f90
      Ron Eldor authored
      1. Add DTLS-SRTP tests in `ssl-opts.sh`
      2. Add logs for the tests to filter.
      3. Add function to get the profile informations.
      2b791f90
  10. 10 Jan, 2019 10 commits
  11. 09 Jan, 2019 5 commits
    • Gilles Peskine's avatar
      all.sh: fix MAKEFLAGS setting · a1fc4b5e
      Gilles Peskine authored
      MAKEFLAGS was set to -j if it was already set, instead of being set if
      not previously set as intended. So now all.sh will do parallel builds
      if invoked without MAKEFLAGS in the environment.
      a1fc4b5e
    • Gilles Peskine's avatar
      all.sh: don't insist on Linux; always run Valgrind · a16c2b1f
      Gilles Peskine authored
      Don't bail out of all.sh if the OS isn't Linux. We only expect
      everything to pass on a recent Linux x86_64, but it's useful to call
      all.sh to run some components on any platform.
      
      In all.sh, always run both MemorySanitizer and Valgrind. Valgrind is
      slower than ASan and MSan but finds some things that they don't.
      
      Run MSan unconditionally, not just on Linux/x86_64. MSan is supported
      on some other OSes and CPUs these days.
      
      Use `all.sh --except test_memsan` if you want to omit MSan because it
      isn't supported on your platform. Use `all.sh --except test_memcheck`
      if you want to omit Valgrind because it's too slow.
      
      Make the test scripts more portable (tested on FreeBSD): don't insist
      on GNU sed, and recognize amd64 as well as x86_64 for `uname -m`. The
      `make` utility must still be GNU make.
      a16c2b1f
    • Gilles Peskine's avatar
      Gdb script: improve portability of ASLR disabling disabling · 4976e82a
      Gilles Peskine authored
      Call `set disable-randomization off` only if it seems to be supported.
      The goal is to neither get an error about disable-randomization not
      being supported (e.g. on FreeBSD), nor get an error if it is supported
      but fails (e.g. on Ubuntu).
      
      Only fiddle with disable-randomization from all.sh, which cares
      because it reports the failure of ASLR disabling as an error. If a
      developer invokes the Gdb script manually, a warning about ASLR
      doesn't matter.
      4976e82a
    • Gilles Peskine's avatar
      Use CMAKE_BUILD_TYPE to do Asan builds · 5fa32a7a
      Gilles Peskine authored
      Use `cmake -D CMAKE_BUILD_TYPE=Asan` rather than manually setting
      `-fsanitize=address`. This lets cmake determine the necessary compiler
      and linker flags.
      
      With UNSAFE_BUILD on, force -Wno-error. This is necessary to build
      with MBEDTLS_TEST_NULL_ENTROPY.
      5fa32a7a
    • Gilles Peskine's avatar
      Fix inconsistent indentation · 55f7c944
      Gilles Peskine authored
      Only whitespace changes in this commit.
      55f7c944
  12. 02 Jan, 2019 8 commits