Skip to content

Commit 3e82f01

Browse files
committed
HBSD: Properly return status of public key validity check
Signed-off-by: Shawn Webb <shawn.webb@hardenedbsd.org> Reported-by: Fabian Keil github-issue: #171 Sponsored-by: G2, Inc
1 parent 7b57415 commit 3e82f01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

usr.sbin/hbsd-update/hbsd-update

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ check_pubkey_validity() {
151151
${caopt} ${capath} \
152152
${tmpdir}/pubkey.pem \
153153
> /dev/null 2>&1
154+
res=${?}
154155
return ${res}
155156
}
156157

0 commit comments

Comments
 (0)