diff options
| author | Michael Brown | 2016-08-31 18:23:42 +0200 |
|---|---|---|
| committer | Michael Brown | 2016-08-31 18:23:42 +0200 |
| commit | 827dd1bfee67daa683935ce65316f7e0f057fe1c (patch) | |
| tree | 795ca2b1789e268680bb312044fd083d25f04b2b /src | |
| parent | [cmdline] Add certificate management commands (diff) | |
| download | ipxe-827dd1bfee67daa683935ce65316f7e0f057fe1c.tar.gz ipxe-827dd1bfee67daa683935ce65316f7e0f057fe1c.tar.xz ipxe-827dd1bfee67daa683935ce65316f7e0f057fe1c.zip | |
[crypto] Mark permanent certificates as permanent
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
| -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 ) ); } |
