cert_create: improve command line argument check
authorJuan Castillo <juan.castillo@arm.com>
Wed, 8 Jul 2015 11:11:38 +0000 (12:11 +0100)
committerJuan Castillo <juan.castillo@arm.com>
Fri, 23 Oct 2015 15:54:13 +0000 (16:54 +0100)
commitdfc90e269c07a29648f8ff1cbdb0d9fd8645e7ff
tree7a63e20f1e9938577d9cd68a3f086d927e2bd3b2
parent84ab33e1e95500a3dfc776fe416b9d1a51288057
cert_create: improve command line argument check

The certificate generation tool currently checks if all command
line options required to create all certificates in the CoT have
been specified. This prevents using the tool to create individual
certificates when the whole CoT is not required.

This patch improves the checking function so only those options
required by the certificates specified in the command line are
verified.

Change-Id: I2c426a8e2e2dec85b15f2d98fd4ba949c1aed385
tools/cert_create/src/main.c