diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-08-31 17:23:42 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-08-31 17:23:42 +0100 |
commit | 827dd1bfee67daa683935ce65316f7e0f057fe1c (patch) | |
tree | 795ca2b1789e268680bb312044fd083d25f04b2b /src/crypto/certstore.c | |
parent | eed12580388950d53e5f3436de484e4e170a2c5f (diff) | |
download | ipxe-827dd1bfee67daa683935ce65316f7e0f057fe1c.tar.gz |
[crypto] Mark permanent certificates as permanent
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/certstore.c')
-rw-r--r-- | src/crypto/certstore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/certstore.c b/src/crypto/certstore.c index d0ef5c5d5..cdf6fb4dd 100644 --- a/src/crypto/certstore.c +++ b/src/crypto/certstore.c @@ -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 ) ); } |