]> git.proxmox.com Git - swtpm.git/commit
swtpm_cert: Error out if the Authority Key Id could not be gotten
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 17 Apr 2018 12:58:04 +0000 (08:58 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 17 Apr 2018 14:52:35 +0000 (10:52 -0400)
commite32c525f5f122e7b526ec7bbabf1213cb8485348
tree75a2663ec29af13664ee639a5438bb69dac5d1fa
parenta8667992e0833721afa279d9ea3499edd8132ffa
swtpm_cert: Error out if the Authority Key Id could not be gotten

Since the EK cert must have an Authority Key Id, we error out if
the signing certificate we are given does not have an Authority
Key Id. The typical reason why it wouldn't have it is that we are
using a self-signed (rootCA) certificate directly.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/swtpm_cert/ek-cert.c