aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-03 04:48:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-03 04:48:39 +0800
commitb0a8f5c028d48520c5533644f77aa2ff6dcdec35 (patch)
tree7971046245bcd5f44fc3390b8a1c24035ec418c0
parentae2d0ca936f9f8995d92bf9553a7750a168a4a95 (diff)
downloadgsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.tar
gsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.tar.gz
gsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.tar.bz2
gsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.tar.lz
gsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.tar.xz
gsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.tar.zst
gsoc2013-evolution-b0a8f5c028d48520c5533644f77aa2ff6dcdec35.zip
Reverted.
2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * md5-utils.h: Reverted. svn path=/trunk/; revision=15228
-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]);