mirror of https://github.com/ipxe/ipxe.git
[crypto] Mark permanent certificates as permanent
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/56/head
parent
eed1258038
commit
827dd1bfee
|
@ -240,6 +240,7 @@ static void certstore_init ( void ) {
|
||||||
* permanent reference to it.
|
* permanent reference to it.
|
||||||
*/
|
*/
|
||||||
certstore_add ( cert );
|
certstore_add ( cert );
|
||||||
|
cert->flags |= X509_FL_PERMANENT;
|
||||||
DBGC ( &certstore, "CERTSTORE permanent certificate %d is %s\n",
|
DBGC ( &certstore, "CERTSTORE permanent certificate %d is %s\n",
|
||||||
i, x509_name ( cert ) );
|
i, x509_name ( cert ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue