swtpm_setup: Move common code into new function read_certificate_file()

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
1 file changed