mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[crypto] Mark permanent certificates as permanent
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 ) );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user