소스 검색

[crypto] Mark permanent certificates as permanent

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 년 전
부모
커밋
827dd1bfee
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/crypto/certstore.c

+ 1
- 0
src/crypto/certstore.c 파일 보기

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

Loading…
취소
저장