mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 01:00:30 -04:00
libsecureboot: Report failure for unsupported hash algorithm
Reviewed by: sjg Pull request: https://github.com/freebsd/freebsd-src/pull/1574
This commit is contained in:
parent
4f4b2b7a4b
commit
caaeab697b
1 changed files with 1 additions and 0 deletions
|
|
@ -341,6 +341,7 @@ openpgp_verify(const char *filename,
|
|||
break;
|
||||
default:
|
||||
warnx("unsupported hash algorithm: %s", hname);
|
||||
rc = -1;
|
||||
goto oops;
|
||||
}
|
||||
md->init(&mctx.vtable);
|
||||
|
|
|
|||
Loading…
Reference in a new issue