summaryrefslogtreecommitdiffstats
path: root/src/lockdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lockdown.c')
-rw-r--r--src/lockdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index 21aa334..b07366b 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -1162,6 +1162,7 @@ lockdownd_error_t lockdownd_gen_pair_cert(key_data_t public_key, key_data_t * od
1162 debug_info("ERROR: X509V3_EXT_conf_nid failed"); 1162 debug_info("ERROR: X509V3_EXT_conf_nid failed");
1163 } 1163 }
1164 X509_add_ext(dev_cert, ext, -1); 1164 X509_add_ext(dev_cert, ext, -1);
1165 X509_EXTENSION_free(ext);
1165 1166
1166 ASN1_TIME* asn1time = ASN1_TIME_new(); 1167 ASN1_TIME* asn1time = ASN1_TIME_new();
1167 ASN1_TIME_set(asn1time, time(NULL)); 1168 ASN1_TIME_set(asn1time, time(NULL));