[Pkg-gnutls-commits] r343 - /packages/gnutls13/branches/branch1.7.x.EXP/debian/patches/15_somewarnings.diff

ametzler at users.alioth.debian.org ametzler at users.alioth.debian.org
Mon May 28 07:00:16 UTC 2007


Author: ametzler
Date: Mon May 28 07:00:14 2007
New Revision: 343

URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=343
Log:
Forgot to add to svn

Added:
    packages/gnutls13/branches/branch1.7.x.EXP/debian/patches/15_somewarnings.diff

Added: packages/gnutls13/branches/branch1.7.x.EXP/debian/patches/15_somewarnings.diff
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls13/branches/branch1.7.x.EXP/debian/patches/15_somewarnings.diff?rev=343&op=file
==============================================================================
--- packages/gnutls13/branches/branch1.7.x.EXP/debian/patches/15_somewarnings.diff (added)
+++ packages/gnutls13/branches/branch1.7.x.EXP/debian/patches/15_somewarnings.diff Mon May 28 07:00:14 2007
@@ -1,0 +1,96 @@
+diff -Nur gnutls13-1.7.7.orig/lgl/gc-libgcrypt.c gnutls13-1.7.7/lgl/gc-libgcrypt.c
+--- gnutls13-1.7.7.orig/lgl/gc-libgcrypt.c	2007-02-05 12:17:41.000000000 +0100
++++ gnutls13-1.7.7/lgl/gc-libgcrypt.c	2007-04-15 13:24:42.000000000 +0200
+@@ -240,7 +240,7 @@
+ gc_hash_open (Gc_hash hash, Gc_hash_mode mode, gc_hash_handle * outhandle)
+ {
+   _gc_hash_ctx *ctx;
+-  int gcryalg, gcrymode;
++  int gcryalg = 0, gcrymode = 0;
+   gcry_error_t err;
+   Gc_rc rc = GC_OK;
+ 
+diff -Nur gnutls13-1.7.7.orig/lib/gnutls_handshake.c gnutls13-1.7.7/lib/gnutls_handshake.c
+--- gnutls13-1.7.7.orig/lib/gnutls_handshake.c	2007-02-21 16:13:18.000000000 +0100
++++ gnutls13-1.7.7/lib/gnutls_handshake.c	2007-04-15 13:24:42.000000000 +0200
+@@ -199,7 +199,7 @@
+   opaque concat[36];
+   size_t len;
+   const char *mesg;
+-  mac_hd_t td_md5;
++  mac_hd_t td_md5 = NULL;
+   mac_hd_t td_sha;
+   gnutls_protocol_t ver = gnutls_protocol_get_version (session);
+ 
+diff -Nur gnutls13-1.7.7.orig/lib/gnutls_session_pack.c gnutls13-1.7.7/lib/gnutls_session_pack.c
+--- gnutls13-1.7.7.orig/lib/gnutls_session_pack.c	2006-03-08 11:44:59.000000000 +0100
++++ gnutls13-1.7.7/lib/gnutls_session_pack.c	2007-04-15 13:24:42.000000000 +0200
+@@ -342,7 +342,7 @@
+ 			      const gnutls_datum_t * packed_session)
+ {
+   int pos = 0, size, ret;
+-  unsigned int i, j;
++  unsigned int i = 0, j;
+   size_t pack_size;
+   cert_auth_info_t info;
+ 
+diff -Nur gnutls13-1.7.7.orig/lib/x509/output.c gnutls13-1.7.7/lib/x509/output.c
+--- gnutls13-1.7.7.orig/lib/x509/output.c	2007-02-13 17:28:54.000000000 +0100
++++ gnutls13-1.7.7/lib/x509/output.c	2007-04-15 13:27:54.000000000 +0200
+@@ -299,7 +299,7 @@
+ print_key_purpose (gnutls_string * str, gnutls_x509_crt_t cert)
+ {
+   int indx;
+-  char *buffer;
++  char *buffer = NULL;
+   size_t size;
+   int err;
+ 
+@@ -440,7 +440,7 @@
+ 
+ 	case GNUTLS_SAN_OTHERNAME:
+ 	  {
+-	    char *oid;
++	    char *oid = NULL;
+ 	    size_t oidsize;
+ 
+ 	    oidsize = 0;
+@@ -860,7 +860,7 @@
+     {
+       int err;
+       size_t size = 0;
+-      char *buffer;
++      char *buffer = NULL;
+ 
+       err = gnutls_x509_crt_get_signature_algorithm (cert);
+       if (err < 0)
+@@ -933,7 +933,7 @@
+ {
+   int err;
+   size_t size = 0;
+-  char *buffer;
++  char *buffer = NULL;
+ 
+   err = gnutls_x509_crt_get_key_id (cert, 0, buffer, &size);
+   if (err != GNUTLS_E_SHORT_MEMORY_BUFFER)
+@@ -1268,7 +1268,7 @@
+     {
+       int err;
+       size_t size = 0;
+-      char *buffer;
++      char *buffer = NULL;
+ 
+       err = gnutls_x509_crl_get_signature_algorithm (crl);
+       if (err < 0)
+diff -Nur gnutls13-1.7.7.orig/lib/x509/verify.c gnutls13-1.7.7/lib/x509/verify.c
+--- gnutls13-1.7.7.orig/lib/x509/verify.c	2007-02-05 11:27:25.000000000 +0100
++++ gnutls13-1.7.7/lib/x509/verify.c	2007-04-15 13:24:42.000000000 +0200
+@@ -541,7 +541,7 @@
+ 		       const gnutls_datum_t * signature, mpi_t * params,
+ 		       int params_len)
+ {
+-  gnutls_mac_algorithm_t hash;
++  gnutls_mac_algorithm_t hash = GNUTLS_MAC_UNKNOWN;
+   int ret;
+   opaque digest[MAX_HASH_SIZE], md[MAX_HASH_SIZE];
+   int digest_size;




More information about the Pkg-gnutls-commits mailing list