Make sure rc is initialised
authorPhil Pennock <pdp@exim.org>
Sat, 24 Sep 2011 07:12:05 +0000 (03:12 -0400)
committerPhil Pennock <pdp@exim.org>
Sat, 24 Sep 2011 07:12:05 +0000 (03:12 -0400)
src/src/tls-gnu.c

index 6b80637e910973bff232222ac3c0400e97027f53..f77768fb8bcad489fa18c1c2653fd66e0aa18102 100644 (file)
@@ -235,7 +235,7 @@ Returns:     TRUE/FALSE
 static BOOL
 verify_certificate(gnutls_session session, const char **error)
 {
-int rc;
+int rc = -1;
 uschar *dn_string = US"";
 const gnutls_datum *cert;
 unsigned int verify, cert_size = 0;