[sylpheed:31235] Re: [PATCH] SSL Self-Signed Certificate Dialogs Cannot be Disabled

Michael B Allen mba2000 at ioplex.com
Mon Apr 30 08:34:45 JST 2007


On Sun, 29 Apr 2007 23:28:18 +0200
sopra-it at gmx.net wrote:

> > Or, what would be ideal is a checkbox that causes the warnings to be
> > ignored in the future. Has this been discussed? Is there somewhere I
> > should file a bug report?
> This is not a bug, but seems to be intended behaviour. It has been
> reported/requested earlier, but unfortunately no response so far (31198, 31203).
> 
> You can get rid of the dialog by putting the certificate to ~/.sylpheed-2.0,
> see message 30701 for details. However, I couldn't get it to work that way...

Here's a one-liner that completely disables cert verification. Of course a
checkbox would be far superior. If anyone's familar with GTK programming
it looks like it would be added at or around where this patch is applied
(you would also need some code to save the value). But for now I'm not
going to pay for a cert that I don't need so I gotta do what I gotta do.

Thanks,
Mike

$ diff -Naur src/sslmanager.c.orig src/sslmanager.c
--- src/sslmanager.c.orig       2007-04-29 19:24:56.000000000 -0400
+++ src/sslmanager.c    2007-04-29 19:25:32.000000000 -0400
@@ -53,6 +53,7 @@
        gchar *subject, *issuer;
        gint result;
 
+verify_result = X509_V_OK;
        if (verify_result == X509_V_OK)
                return 0;



More information about the Sylpheed mailing list