blob: f51dffa2bd192882854ef23f521b5b66dbbba87c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/main.c
+++ b/main.c
@@ -965,8 +965,13 @@ int main(int argc,char **argv)
}
else if (strncmp("show-mime-types",option+1,9) == 0)
{
+#ifdef HAVE_OPENSSL
show_mime_types();
rc = 0;
+#else
+ (void) fprintf(stderr,"Error: '-show-mime-types' not available, not compiled with OpenSSL\n");
+ rc = 1;
+#endif
goto ExitProcessing;
}
|