warning fixes
authorColin Leroy <colin@colino.net>
Mon, 9 Dec 2002 09:46:39 +0000 (09:46 +0000)
committerColin Leroy <colin@colino.net>
Mon, 9 Dec 2002 09:46:39 +0000 (09:46 +0000)
ChangeLog.claws
configure.in
src/common/ssl_certificate.c
src/gtk/sslcertwindow.c

index ba190eadf991c25f90d3b0ec5f3e5595181d88d1..adb8a7d0ea053cbb1f036adb6c75535d8d65ffe4 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-09 [colin]     0.8.6claws85
+
+       * src/common/ssl_certificate.c
+       * src/gtk/sslcertwindow.c
+               Warning fixes
+
 2002-12-09 [colin]     0.8.6claws84
 
        * src/ssl_certificate.[ch] ** REMOVED **
index 566340e4168a2c806a17d325d6ba29105c9f2a97..e3e485d52ce43b19fd62bb92a1c5529dab645f57 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws84
+EXTRA_VERSION=claws85
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 194e4e193cf537f5120abe6772fb147fb7d53302..fff5d117ce81acd87a9d7cbd448ba4f097522804 100644 (file)
@@ -345,7 +345,6 @@ gboolean ssl_certificate_check (X509 *x509_cert, gchar *host, gushort port)
        known_cert = ssl_certificate_find (host, port);
 
        if (known_cert == NULL) {
-               gboolean val;
                gchar *err_msg, *cur_cert_str, *sig_status;
                
                sig_status = ssl_certificate_check_signer(x509_cert);
@@ -400,7 +399,6 @@ gboolean ssl_certificate_check (X509 *x509_cert, gchar *host, gushort port)
                }
        }
        else if (!ssl_certificate_compare (current_cert, known_cert)) {
-               gboolean val;
                gchar *err_msg, *known_cert_str, *cur_cert_str;
                
                known_cert_str = ssl_certificate_to_string(known_cert);
index a8b9cc18d53b260642fc052e3894bdd4b4b14fc1..b9f7c309774d38ea3e7c16af70ee09531cb35b70 100644 (file)
 #include "../common/ssl_certificate.h"
 #include "../common/utils.h"
 #include "../alertpanel.h"
+#include "../common/hooks.h"
 
 static void toggle_cert_cb(GtkWidget   *widget,
                         gpointer        data);
+gboolean sslcertwindow_ask_new_cert(SSLCertificate *cert);
+gboolean sslcertwindow_ask_changed_cert(SSLCertificate *old_cert, SSLCertificate *new_cert);
 
 GtkWidget *cert_presenter(SSLCertificate *cert)
 {