[gnome-control-center/wip/feborges/new-remote-desktop-dialog: 9/14] sharing/tls: Change expiration timeout to 2 years




commit 2fad54f589c0cfbd16ac425bba28bf150ca5056a
Author: Jonas Ådahl <jadahl gmail com>
Date:   Mon Feb 21 18:38:47 2022 +0100

    sharing/tls: Change expiration timeout to 2 years
    
    It was 5 years; shorten it to 2 years.

 panels/sharing/cc-tls-certificate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/sharing/cc-tls-certificate.c b/panels/sharing/cc-tls-certificate.c
index b2992c023..3b616f86b 100644
--- a/panels/sharing/cc-tls-certificate.c
+++ b/panels/sharing/cc-tls-certificate.c
@@ -28,7 +28,7 @@
 #include "cc-tls-certificate.h"
 
 #define DEFAULT_KEY_SIZE   4096
-#define DEFAULT_EXPIRATION (60L*60L*24L*5L*365L)
+#define DEFAULT_EXPIRATION (60L*60L*24L*2L*365L)
 
 static void
 _gnutls_datum_clear (gnutls_datum_t *datum)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]