mirror of
https://git.openwrt.org/feed/packages.git
synced 2025-05-08 19:40:23 +08:00
17 lines
499 B
Diff
17 lines
499 B
Diff
--- 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;
|
|
}
|
|
|