Skip to content

Make PKCS8 dependant unit tests fail gracefully

Brian Gix ell 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1unit: Add graceful fail of pem, tls and key testsunit/test-key.c unit/test-pem.c unit/test-tls.c+29 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Make PKCS8 dependant unit tests fail gracefully

This patch is based on the failure check in unit/test-cipher, which gives mitigation instructions for known and easily correctable deficiencies in Kernel space. In the case of these three unit tests, the pkcs8_key_parser must be loaded for the unit test to pass. If not loaded the mitigation is given, and the test exits with an exit(1) rather than an assert fail.

Brian Gix (1):
unit: Add graceful fail of pem, tls and key tests

 unit/test-key.c |  9 +++++++++
 unit/test-pem.c |  9 +++++++++
 unit/test-tls.c | 12 +++++++++++-
 3 files changed, 29 insertions(+), 1 deletion(-)
Signature · 1 line
2.21.0