cipher_breakout: b89d9236: included string.h in cipher.h since almo...
grim at pidgin.im
grim at pidgin.im
Mon Feb 14 02:04:22 EST 2011
----------------------------------------------------------------------
Revision: b89d923639f8d5f0a048439d5b950faa4da838e1
Parent: bcbdead22ea46bdd2736c03efbcacc2f964038f0
Author: grim at pidgin.im
Date: 02/14/11 01:54:12
Branch: im.pidgin.cipher_breakout
URL: http://d.pidgin.im/viewmtn/revision/info/b89d923639f8d5f0a048439d5b950faa4da838e1
Changelog:
included string.h in cipher.h since almost all of the ciphers use it.
Changes against parent bcbdead22ea46bdd2736c03efbcacc2f964038f0
patched libpurple/cipher.h
patched libpurple/ciphers/des.c
patched libpurple/ciphers/hmac.c
patched libpurple/ciphers/md4.c
patched libpurple/ciphers/md5.c
patched libpurple/ciphers/rc4.c
patched libpurple/ciphers/sha1.c
patched libpurple/ciphers/sha256.c
-------------- next part --------------
============================================================
--- libpurple/cipher.h 95c4d3df06bea0cd3a8aa9f4963d89125a551243
+++ libpurple/cipher.h b7f25e6956260dbba392c172715643e18ed8ac43
@@ -28,6 +28,7 @@
#define PURPLE_CIPHER_H
#include <glib.h>
+#include <string.h>
#define PURPLE_CIPHER(obj) ((PurpleCipher *)(obj)) /**< PurpleCipher typecast helper */
#define PURPLE_CIPHER_OPS(obj) ((PurpleCipherOps *)(obj)) /**< PurpleCipherInfo typecase helper */
============================================================
--- libpurple/ciphers/md4.c 127ffb69e961653deaa86a34c36b465cf9b86c0a
+++ libpurple/ciphers/md4.c d8e758467a7e8fca53718ed08106092f67842b37
@@ -34,7 +34,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include <cipher.h>
-#include <string.h>
#define MD4_DIGEST_SIZE 16
#define MD4_HMAC_BLOCK_SIZE 64
============================================================
--- libpurple/ciphers/md5.c 6b4f70a13abdf90273351952aea74619ec774d1c
+++ libpurple/ciphers/md5.c 9507a1008ed870f8cefe865cd6b81c4292d75d3e
@@ -22,9 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
-
#include <cipher.h>
-#include <string.h>
#define MD5_HMAC_BLOCK_SIZE 64
============================================================
--- libpurple/ciphers/hmac.c 2a8e2116ce47e8cbad6ae4558176fc9ea3aed171
+++ libpurple/ciphers/hmac.c 9fc4ab52a7767c277a8fb0dd656e1ba16be6e841
@@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include <cipher.h>
-#include <string.h>
struct HMAC_Context {
PurpleCipherContext *hash;
============================================================
--- libpurple/ciphers/sha1.c 208c5f7a4e3aadeba426fe6d01ab50ab65f54b97
+++ libpurple/ciphers/sha1.c c9306dda4508145cc4be65f468cfd4ec3a03ff60
@@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include <cipher.h>
-#include <string.h>
#define SHA1_HMAC_BLOCK_SIZE 64
============================================================
--- libpurple/ciphers/rc4.c 4f05281574b785827fea7b1ea3b667c4ee0bc8f7
+++ libpurple/ciphers/rc4.c 0914829b520e1b8f674f16274d02739959e9e960
@@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include <cipher.h>
-#include <string.h>
struct RC4Context {
guchar state[256];
============================================================
--- libpurple/ciphers/sha256.c a073a938ee86b981f09fc85378762a63949f78f0
+++ libpurple/ciphers/sha256.c 357d6755747b6a50a76980e3713e9c1b81f5821d
@@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include <cipher.h>
-#include <string.h>
#define SHA256_HMAC_BLOCK_SIZE 64
============================================================
--- libpurple/ciphers/des.c c81f7a7ad1698bc0160a57345a26ec2729ea29c3
+++ libpurple/ciphers/des.c c18ba22e56b2267266c2c8115ef40d0e09da2dff
@@ -34,7 +34,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include <cipher.h>
-#include <string.h>
/******************************************************************************
* DES
More information about the Commits
mailing list