libsecureboot: Report failure for unsupported hash algorithm
Reviewed by: sjg
Pull request: https://github.com/freebsd/freebsd-src/pull/1574
(cherry picked from commit caaeab697b)
This commit is contained in:
parent
cbb7dbbde2
commit
0ea2924f81
1 changed files with 1 additions and 0 deletions
|
|
@ -343,6 +343,7 @@ openpgp_verify(const char *filename,
|
|||
break;
|
||||
default:
|
||||
warnx("unsupported hash algorithm: %s", hname);
|
||||
rc = -1;
|
||||
goto oops;
|
||||
}
|
||||
md->init(&mctx.vtable);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue