diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2022-04-18 19:53:53 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2022-04-18 19:54:15 +0000 |
| commit | 666554111a7e6b4c1a9a6ff2e73f12cd582573bb (patch) | |
| tree | 53bbb3445636453e1e1a31cb9935d75445531db6 /lib/libsecureboot/openpgp | |
| parent | 43d5661a9d0f44c73344e0f2fc094b7286987313 (diff) | |
Diffstat (limited to 'lib/libsecureboot/openpgp')
| -rw-r--r-- | lib/libsecureboot/openpgp/opgp_sig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsecureboot/openpgp/opgp_sig.c b/lib/libsecureboot/openpgp/opgp_sig.c index c16d8974e8a3..fcf4a708c4c3 100644 --- a/lib/libsecureboot/openpgp/opgp_sig.c +++ b/lib/libsecureboot/openpgp/opgp_sig.c @@ -369,7 +369,7 @@ openpgp_verify(const char *filename, #endif if (rc > 0) { - if ((flags & 1)) + if ((flags & VEF_VERBOSE)) printf("Verified %s signed by %s\n", filename, key->user ? key->user->name : "someone"); @@ -447,7 +447,7 @@ openpgp_verify_file(const char *filename, unsigned char *fdata, size_t nbytes) return (-1); } sdata = read_file(sname, &sz); - return (openpgp_verify(filename, fdata, nbytes, sdata, sz, 1)); + return (openpgp_verify(filename, fdata, nbytes, sdata, sz, VerifyFlags)); } #endif |
