[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:52 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=9bc93b6

The following commit has been merged in the master branch:
commit 9bc93b633796a934c0cd8947761de89c76079a85
Author: Vineet Garg <grgvineet at gmail.com>
Date:   Fri Aug 14 17:50:58 2015 +0530

    We generate certificate from present date -1 year to present date + 10 year, this avoids the case where certificate is not valid due to difference of time zones
---
 core/kdeconnectconfig.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/kdeconnectconfig.cpp b/core/kdeconnectconfig.cpp
index c4d9509..a4ae2ce 100644
--- a/core/kdeconnectconfig.cpp
+++ b/core/kdeconnectconfig.cpp
@@ -118,7 +118,7 @@ KdeConnectConfig::KdeConnectConfig()
         QCA::CertificateOptions certificateOptions = QCA::CertificateOptions();
         // FIXME : Set serial number for certificate. Time millis or any constant number?
         QCA::BigInteger bigInteger(10);
-        QDateTime startTime = QDateTime::currentDateTime();
+        QDateTime startTime = QDateTime::currentDateTime().addYears(-1);
         QDateTime endTime = startTime.addYears(10);
         QCA::CertificateInfo certificateInfo;
         certificateInfo.insert(QCA::CommonName,deviceId());

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list