From: Michael Brown Date: Wed, 31 Aug 2016 16:23:42 +0000 (+0100) Subject: [crypto] Mark permanent certificates as permanent X-Git-Tag: v1.20.1~358 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=827dd1bfee67daa683935ce65316f7e0f057fe1c;p=thirdparty%2Fipxe.git [crypto] Mark permanent certificates as permanent Signed-off-by: Michael Brown --- 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 ) ); }