From ae2d0ca936f9f8995d92bf9553a7750a168a4a95 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 2 Jan 2002 20:45:42 +0000 Subject: Move the struct into md5-utils.c - this is a kludgey hack around the fact 2002-01-02 Jeffrey Stedfast * md5-utils.h: Move the struct into md5-utils.c - this is a kludgey hack around the fact that NSS also defines MD5Context. Besides, this should be a private struct anyway. svn path=/trunk/; revision=15227 --- e-util/ChangeLog | 6 ++++++ e-util/md5-utils.c | 8 ++++++++ e-util/md5-utils.h | 7 +------ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 2bcb5f8820..69b4d4d02f 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2002-01-02 Jeffrey Stedfast + + * md5-utils.h: Move the struct into md5-utils.c - this is a + kludgey hack around the fact that NSS also defines + MD5Context. Besides, this should be a private struct anyway. + 2002-01-02 JP Rosevear * e-dialog-utils.c (e_gnome_dialog_set_parent): util function diff --git a/e-util/md5-utils.c b/e-util/md5-utils.c index 368a3c1828..9450a3244b 100644 --- a/e-util/md5-utils.c +++ b/e-util/md5-utils.c @@ -27,6 +27,14 @@ #include #include "md5-utils.h" +struct _MD5Context { + guint32 buf[4]; + guint32 bits[2]; + guchar in[64]; + gint doByteReverse; +}; + + static void md5_transform (guint32 buf[4], const guint32 in[16]); static gint _ie = 0x44332211; diff --git a/e-util/md5-utils.h b/e-util/md5-utils.h index 08e014e86e..5a7be8a4d2 100644 --- a/e-util/md5-utils.h +++ b/e-util/md5-utils.h @@ -28,13 +28,8 @@ #include -typedef struct { - guint32 buf[4]; - guint32 bits[2]; - guchar in[64]; - gint doByteReverse; -} MD5Context ; +typedef struct _MD5Context MD5Context; void md5_get_digest (const gchar *buffer, gint buffer_size, guchar digest[16]); -- cgit v1.2.3