From 58319bc8ffabde9f59183438922e1887bc6578d6 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 31 May 2013 07:30:05 +0000 Subject: [PATCH] fixed default initialization of time_stamps for keys git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6390 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pgp/pgphandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pgp/pgphandler.cc b/libretroshare/src/pgp/pgphandler.cc index 48b250c7d..a9ec25f4f 100644 --- a/libretroshare/src/pgp/pgphandler.cc +++ b/libretroshare/src/pgp/pgphandler.cc @@ -198,7 +198,7 @@ void PGPHandler::initCertificateInfo(PGPCertificateInfo& cert,const ops_keydata_ cert._validLvl = 1 ; // to be setup accordingly cert._key_index = index ; cert._flags = 0 ; - cert._time_stamp = time(NULL) ; + cert._time_stamp = 0 ;// "never" by default. Will be updated by trust database, and effective key usage. switch(keydata->key.pkey.algorithm) {