Author: marten Date: Wed Nov 4 20:33:17 2009 New Revision: 1527 Log: Added further initialization of structs. Modified: trunk/community-operator/co_client.c Modified: trunk/community-operator/co_client.c ============================================================================== --- trunk/community-operator/co_client.c Wed Nov 4 20:23:32 2009 (r1526) +++ trunk/community-operator/co_client.c Wed Nov 4 20:33:17 2009 (r1527) @@ -412,6 +412,9 @@ char buf_after[15]; time_t now, not_before, not_after; + memset(&ts_before, 0, sizeof(struct tm)); + memset(&ts_after, 0, sizeof(struct tm)); + // Read not-before date strncpy(buf_before, filename, 14); strptime(buf_before, CERT_FILENAME_FORMAT, &ts_before);