Fixed check of max_poll_time as it is an unsigned int.
authorTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 08:46:22 +0000 (09:46 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 08:46:45 +0000 (09:46 +0100)
src/scepclient/scepclient.c

index 2d364d6..b7f074f 100644 (file)
@@ -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 */