libpurple/protocols/msn/directconn.c

changeset 31803
3f10f8ceca66
parent 31790
fd6e676248f8
child 33785
502a383ea856
--- a/libpurple/protocols/msn/directconn.c	Wed May 11 04:42:07 2011 +0000
+++ b/libpurple/protocols/msn/directconn.c	Wed May 11 05:00:06 2011 +0000
@@ -51,6 +51,9 @@
 		purple_cipher_context_destroy(context);
 	} else if (type == DC_NONCE_PLAIN) {
 		memcpy(digest, nonce, 16);
+	} else {
+		nonce_hash[0] = '\0';
+		g_return_if_reached();
 	}
 
 	g_sprintf(nonce_hash,

mercurial