]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libsecureboot: avoid recusion in ve_trust_init
authorsjg <sjg@FreeBSD.org>
Thu, 11 Jul 2019 22:06:59 +0000 (22:06 +0000)
committersjg <sjg@FreeBSD.org>
Thu, 11 Jul 2019 22:06:59 +0000 (22:06 +0000)
commitafd5580ea547aed8a9fbfbd3ceb7034a564c0ba6
tree45dd8d2fd89f4e7cd379e192ec065a9155e999ee
parenta9f5b306a62e41ef5af8989e21069e5a84090100
libsecureboot: avoid recusion in ve_trust_init

set our guard value immediately.
also replace call to ve_trust_init in opgp_sig.c:initialize with
call to openpgp_trust_init.

Reported by: mindal@semihalf.com
Reviewed by: jhibbits obrien
MFC after: 1 week
lib/libsecureboot/openpgp/opgp_sig.c
lib/libsecureboot/vets.c