aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-11-25 09:46:22 +0100
committerTobias Brunner <tobias@strongswan.org>2011-11-25 09:46:45 +0100
commit282dcb99743aa801b120948dae62f4d5be66e488 (patch)
tree610c3a719b39920e1f7c3252d6cb2459ec91c241
parentedad908792317422e2f0371d8c83396caee6b8e7 (diff)
downloadstrongswan-282dcb99743aa801b120948dae62f4d5be66e488.tar.bz2
strongswan-282dcb99743aa801b120948dae62f4d5be66e488.tar.xz
Fixed check of max_poll_time as it is an unsigned int.
-rw-r--r--src/scepclient/scepclient.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/scepclient/scepclient.c b/src/scepclient/scepclient.c
index 2d364d654..b7f074f02 100644
--- a/src/scepclient/scepclient.c
+++ b/src/scepclient/scepclient.c
@@ -704,10 +704,6 @@ int main(int argc, char **argv)
case 'x': /* --maxpolltime */
max_poll_time = atoi(optarg);
- if (max_poll_time < 0)
- {
- usage("invalid maxpolltime specified");
- }
continue;
case 'a': /*--algorithm */