openssl: remove the makefile timestamp check, it breaks on some host systems
[openwrt.git] / package / uhttpd / src / uhttpd.c
index be13b53..da37794 100644 (file)
@@ -422,7 +422,7 @@ int main (int argc, char **argv)
        int nofork = 0;
 
        /* args */
-       char opt;
+       int opt;
        char bind[128];
        char *port = NULL;
 
@@ -524,6 +524,7 @@ int main (int argc, char **argv)
                                        port = optarg;
                                }
 
+#ifdef HAVE_TLS
                                if( opt == 's' )
                                {
                                        if( !conf.tls )
@@ -537,6 +538,7 @@ int main (int argc, char **argv)
 
                                        tls = 1;
                                }
+#endif
 
                                /* bind sockets */
                                bound += uh_socket_bind(
This page took 0.038139 seconds and 4 git commands to generate.