[0/3] examples/fips_validation: misc fixes

Message ID 20201006074143.31691-1-olivier.matz@6wind.com (mailing list archive)


Olivier Matz Oct. 6, 2020, 7:41 a.m. UTC
  Seen while trying to test this example: the first two patches
are fixes (buffer overflow and an incorrect parsing). The last
one makes it possible to only run the self test, without passing
a req file.

Olivier Matz (3):
  examples/fips_validation: fix buffer overflow
  examples/fips_validation: ignore \r in input files
  examples/fips_validation: support self-test only

 examples/fips_validation/fips_validation.c | 14 ++++++++++++--
 examples/fips_validation/fips_validation.h |  3 ++-
 examples/fips_validation/main.c            | 22 ++++++++++++++++++++--
 3 files changed, 34 insertions(+), 5 deletions(-)