mbedtls/tests
Hanno Becker d4d60579e4 Address issues found by coverity
1) `mbedtls_rsa_import_raw` used an uninitialized return
   value when it was called without any input parameters.
   While not sensible, this is allowed and should be a
   succeeding no-op.

2) The MPI test for prime generation missed a return value
   check for a call to `mbedtls_mpi_shift_r`. This is neither
   critical nor new but should be fixed.

3) Both the RSA keygeneration example program and the
   RSA test suites contained code initializing an RSA context
   after a potentially failing call to CTR DRBG initialization,
   leaving the corresponding RSA context free call in the
   cleanup section of the respective function orphaned.
   While this defect existed before, Coverity picked up on
   it again because of newly introduced MPI's that were
   also wrongly initialized only after the call to CTR DRBG
   init. The commit fixes both the old and the new issue
   by moving the initializtion of both the RSA context and
   all MPI's prior to the first potentially failing call.
2018-01-10 07:30:47 +00:00
..
data_files Merge remote-tracking branch 'upstream-public/pr/1089' into development 2017-11-28 17:32:32 +01:00
git-scripts Move the git scripts to correct path 2017-07-27 21:44:34 +01:00
scripts Make small corrections to all.sh 2018-01-05 13:03:53 +00:00
suites Address issues found by coverity 2018-01-10 07:30:47 +00:00
.gitignore
CMakeLists.txt Remove need for elevated command line in Windows 2017-02-15 09:08:26 +00:00
compat.sh compat.sh: use wait_server_start 2017-12-14 19:02:00 +01:00
Descriptions.txt
Makefile Clean up of formatting, and potential integer overflow fix 2016-10-13 13:51:13 +01:00
ssl-opt.sh wait_server_start: minor efficiency improvement 2017-12-14 18:58:42 +01:00