]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/tlscheck.c
tlscheck should only be built when SSL/TLS is available/enabled.
[thirdparty/cups.git] / cups / tlscheck.c
index a17d73104dfadb50c1bea412f89c96b126c34fa0..352c3344d106b05195594bd7363cfc7ba4c8461b 100644 (file)
 #include "cups-private.h"
 
 
+#ifndef HAVE_SSL
+int main(void) { puts("Sorry, no TLS support compiled in."); return (1); }
+#else
+
 /*
  * Local functions...
  */
@@ -727,6 +731,7 @@ usage(void)
 
   exit(1);
 }
+#endif /* !HAVE_SSL */
 
 
 /*