X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=main.c;fp=main.c;h=0a9209e531bad15c78361aa718afb8a85ed37f17;hb=a1aebc1321f69e419bacb3acab8155ea0ac53fe2;hp=390046a3a5ab45375e185b19fce5d11dab04a230;hpb=3d626d9fb185b696550a2657821f912f4daac6a3;p=ovirt-viewer.git diff --git a/main.c b/main.c index 390046a..0a9209e 100644 --- a/main.c +++ b/main.c @@ -58,7 +58,9 @@ gboolean debug = 0; * configure or on the command line. */ const char *cainfo = CAINFO; -gboolean check_cert = TRUE; +gboolean check_cert = FALSE; // do we want this enabled by default ? + // would require a CA by default (self-signed wont work) + // (don't set to true, change var/flag to no_check_cert) /* Private functions. */ static void start_ui (void); @@ -148,7 +150,7 @@ static const GOptionEntry options[] = { { "cainfo", 0, 0, G_OPTION_ARG_STRING, &cainfo, "set the path of the CA certificate bundle", NULL }, { "check-certificate", 0, 0, G_OPTION_ARG_NONE, &check_cert, - "if --no-check-certificate is passed we don't check the SSL certificate of the server", NULL }, + "check the SSL certificate of the server", NULL }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, "turn on debugging messages", NULL }, { "version", 'V', 0, G_OPTION_ARG_NONE, &print_version,