diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-01 16:23:13 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-01 16:23:13 +0000 |
commit | d9bc38398c90e669bc2431fecfb879dffb2cb8f1 (patch) | |
tree | bcdea52466985841dfd578facaf6c34d143ad23c /net/meanwhile/files/patch-src_cipher.h | |
parent | Fix patching after the recent locale dir changes to bsd.gnome.mk. (diff) |
Add the latest CVS patches that fix 64-bit build and operation as well as
some buddy list fixes.
Notes
Notes:
svn path=/head/; revision=112674
Diffstat (limited to 'net/meanwhile/files/patch-src_cipher.h')
-rw-r--r-- | net/meanwhile/files/patch-src_cipher.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net/meanwhile/files/patch-src_cipher.h b/net/meanwhile/files/patch-src_cipher.h new file mode 100644 index 000000000000..b6de4a617b35 --- /dev/null +++ b/net/meanwhile/files/patch-src_cipher.h @@ -0,0 +1,50 @@ +=================================================================== +RCS file: /cvsroot/meanwhile/meanwhile/src/cipher.h,v +retrieving revision 1.1 +retrieving revision 1.2 +diff -u -r1.1 -r1.2 +--- src/cipher.h 2004/06/01 23:24:53 1.1 ++++ src/cipher.h 2004/06/28 18:20:29 1.2 +@@ -26,31 +26,31 @@ + + /** Expand a variable-length key into a 128-byte key (represented as an + an array of 64 ints) */ +-void mwKeyExpand(int *ekey, const char *key, unsigned int keylen); ++void mwKeyExpand(int *ekey, const char *key, gsize keylen); + + + /** Encrypt data using an already-expanded key */ + void mwEncryptExpanded(const int *ekey, char *iv, +- const char *in, unsigned int i_len, +- char **out, unsigned int *o_len); ++ const char *in, gsize i_len, ++ char **out, gsize *o_len); + + + /** Encrypt data using an expanded form of the given key */ +-void mwEncrypt(const char *key, unsigned int keylen, char *iv, +- const char *in, unsigned int i_len, +- char **out, unsigned int *o_len); ++void mwEncrypt(const char *key, gsize keylen, char *iv, ++ const char *in, gsize i_len, ++ char **out, gsize *o_len); + + + /** Decrypt data using an already expanded key */ + void mwDecryptExpanded(const int *ekey, char *iv, +- const char *in, unsigned int i_len, +- char **out, unsigned int *o_len); ++ const char *in, gsize i_len, ++ char **out, gsize *o_len); + + + /** Decrypt data using an expanded form of the given key */ +-void mwDecrypt(const char *key, unsigned int keylen, char *iv, +- const char *in, unsigned int i_len, +- char **out, unsigned int *o_len); ++void mwDecrypt(const char *key, gsize keylen, char *iv, ++ const char *in, gsize i_len, ++ char **out, gsize *o_len); + + + #endif |