From: Tobias Brunner Date: Fri, 23 Dec 2011 14:32:06 +0000 (+0100) Subject: pluto: Fixed expiration date test. X-Git-Tag: 4.6.2~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70a47376905cd06968a79df7122eb5ea4521fc5f;p=thirdparty%2Fstrongswan.git pluto: Fixed expiration date test. --- diff --git a/src/pluto/defs.c b/src/pluto/defs.c index f83318e126..404194b819 100644 --- a/src/pluto/defs.c +++ b/src/pluto/defs.c @@ -91,8 +91,7 @@ mv_chunk(u_char **pos, chunk_t content) const char* check_expiry(time_t expiration_date, int warning_interval, bool strict) { - time_t now; - int time_left; + time_t now, time_left; if (expiration_date == UNDEFINED_TIME) return "ok (expires never)";