Message ID | 20200326162723.3716670-1-dbaryshkov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | evmctl: support verification of portable EVM signatures | expand |
diff --git a/src/evmctl.c b/src/evmctl.c index b02be8b1507a..b3f6f65523ef 100644 --- a/src/evmctl.c +++ b/src/evmctl.c @@ -824,7 +824,7 @@ static int verify_evm(const char *file) return len; } - if (sig[0] != 0x03) { + if (sig[0] != EVM_IMA_XATTR_DIGSIG || sig[0] != EVM_XATTR_PORTABLE_DIGSIG) { log_err("%s has no signature\n", xattr_evm); return -1; }