Преглед изворни кода

[crypto] Mark permanent certificates as permanent

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown пре 8 година
родитељ
комит
827dd1bfee
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      src/crypto/certstore.c

+ 1
- 0
src/crypto/certstore.c Прегледај датотеку

240
 		 * permanent reference to it.
240
 		 * permanent reference to it.
241
 		 */
241
 		 */
242
 		certstore_add ( cert );
242
 		certstore_add ( cert );
243
+		cert->flags |= X509_FL_PERMANENT;
243
 		DBGC ( &certstore, "CERTSTORE permanent certificate %d is %s\n",
244
 		DBGC ( &certstore, "CERTSTORE permanent certificate %d is %s\n",
244
 		       i, x509_name ( cert ) );
245
 		       i, x509_name ( cert ) );
245
 	}
246
 	}

Loading…
Откажи
Сачувај