david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[crypto] Mark permanent certificates as permanent

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2016-08-31 17:23:42 +01:00
parent eed1258038
commit 827dd1bfee
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ static void certstore_init ( void ) {
* permanent reference to it.
*/
certstore_add ( cert );
cert->flags |= X509_FL_PERMANENT;
DBGC ( &certstore, "CERTSTORE permanent certificate %d is %s\n",
i, x509_name ( cert ) );
}