aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/md5-utils.c7
-rw-r--r--e-util/md5-utils.h7
3 files changed, 10 insertions, 8 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 69b4d4d02f..f66cd9af06 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,5 +1,9 @@
2002-01-02 Jeffrey Stedfast <fejj@ximian.com>
+ * md5-utils.h: Reverted.
+
+2002-01-02 Jeffrey Stedfast <fejj@ximian.com>
+
* 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.
diff --git a/e-util/md5-utils.c b/e-util/md5-utils.c
index 9450a3244b..6f7e06f48d 100644
--- a/e-util/md5-utils.c
+++ b/e-util/md5-utils.c
@@ -27,13 +27,6 @@
#include <string.h>
#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]);
diff --git a/e-util/md5-utils.h b/e-util/md5-utils.h
index 5a7be8a4d2..607471a752 100644
--- a/e-util/md5-utils.h
+++ b/e-util/md5-utils.h
@@ -29,7 +29,12 @@
#include <glib.h>
-typedef struct _MD5Context MD5Context;
+typedef struct _MD5Context {
+ guint32 buf[4];
+ guint32 bits[2];
+ guchar in[64];
+ gint doByteReverse;
+} MD5Context;
void md5_get_digest (const gchar *buffer, gint buffer_size, guchar digest[16]);