rpms/crypto-utils/devel certwatch.c,1.13,1.14

Elio Maldonado emaldonado at fedoraproject.org
Sun Oct 19 05:04:52 UTC 2008


Author: emaldonado

Update of /cvs/extras/rpms/crypto-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18609

Modified Files:
	certwatch.c 
Log Message:
remove unwanted assertions


Index: certwatch.c
===================================================================
RCS file: /cvs/extras/rpms/crypto-utils/devel/certwatch.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- certwatch.c	6 May 2008 16:15:36 -0000	1.13
+++ certwatch.c	19 Oct 2008 05:04:22 -0000	1.14
@@ -186,14 +186,6 @@
         sprintf(subj, "will expire tomorrow");
     } else if (LL_CMP(prtimeDiff, <, warn_period)) {
         sprintf(subj, "will expire on %s", AsciiTime(end));
-        {
-            int days; /* days till expiry */
-            LL_L2I(days, prtimeDiff);
-            days = (days) / (3600 * 24);
-            assert(0 < days);
-            assert(days < warn_period);
-            sprintf(subj, "will expire in %d days", days);
-        }
     } else {
         return 0; /* nothing to warn about. */
     }




More information about the scm-commits mailing list