mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-08-12 17:32:44 +00:00
swtpm_setup: Fail --pcr-banks without --tpm2
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
e02626d038
commit
f4fcd75685
@ -1555,6 +1555,10 @@ int main(int argc, char *argv[])
|
||||
logerr(gl_LOGFILE, "--decryption requires --tpm2.\n");
|
||||
goto error;
|
||||
}
|
||||
if (pcr_banks) {
|
||||
logerr(gl_LOGFILE, "--pcr-banks requires --tpm2.\n");
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
if (!(flags & SETUP_RECONFIGURE_F)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user