summaryrefslogtreecommitdiffstats
path: root/src/crypto/certstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/certstore.c')
-rw-r--r--src/crypto/certstore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/certstore.c b/src/crypto/certstore.c
index d0ef5c5d..cdf6fb4d 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 ) );
}