# HG changeset patch # User Gary Kramlich # Date 1297666452 0 # Node ID 2d3c1197f930f41ae459f886741fbcc2592c46ed # Parent 076d62344ede64ad75b0ba80a1dc54470c927c05 included string.h in cipher.h since almost all of the ciphers use it. diff -r 076d62344ede -r 2d3c1197f930 libpurple/cipher.h --- a/libpurple/cipher.h Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/cipher.h Mon Feb 14 06:54:12 2011 +0000 @@ -28,6 +28,7 @@ #define PURPLE_CIPHER_H #include +#include #define PURPLE_CIPHER(obj) ((PurpleCipher *)(obj)) /**< PurpleCipher typecast helper */ #define PURPLE_CIPHER_OPS(obj) ((PurpleCipherOps *)(obj)) /**< PurpleCipherInfo typecase helper */ diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/des.c --- a/libpurple/ciphers/des.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/des.c Mon Feb 14 06:54:12 2011 +0000 @@ -34,7 +34,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include -#include /****************************************************************************** * DES diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/hmac.c --- a/libpurple/ciphers/hmac.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/hmac.c Mon Feb 14 06:54:12 2011 +0000 @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include -#include struct HMAC_Context { PurpleCipherContext *hash; diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/md4.c --- a/libpurple/ciphers/md4.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/md4.c Mon Feb 14 06:54:12 2011 +0000 @@ -34,7 +34,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include -#include #define MD4_DIGEST_SIZE 16 #define MD4_HMAC_BLOCK_SIZE 64 diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/md5.c --- a/libpurple/ciphers/md5.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/md5.c Mon Feb 14 06:54:12 2011 +0000 @@ -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 -#include #define MD5_HMAC_BLOCK_SIZE 64 diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/rc4.c --- a/libpurple/ciphers/rc4.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/rc4.c Mon Feb 14 06:54:12 2011 +0000 @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include -#include struct RC4Context { guchar state[256]; diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/sha1.c --- a/libpurple/ciphers/sha1.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/sha1.c Mon Feb 14 06:54:12 2011 +0000 @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include -#include #define SHA1_HMAC_BLOCK_SIZE 64 diff -r 076d62344ede -r 2d3c1197f930 libpurple/ciphers/sha256.c --- a/libpurple/ciphers/sha256.c Mon Feb 14 06:51:10 2011 +0000 +++ b/libpurple/ciphers/sha256.c Mon Feb 14 06:54:12 2011 +0000 @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #include -#include #define SHA256_HMAC_BLOCK_SIZE 64