summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-11 02:18:22 +0000
committerpeter <peter@FreeBSD.org>1995-12-11 02:18:22 +0000
commit8d9a84ecfe5bf80834991c8cbb60167fa2bc25bd (patch)
tree3caee9249a312cd90682cfb1119969d4bb13e318
parentae2ac85cb2b7a799f5ab94e3c9a74963e6cc3005 (diff)
downloadFreeBSD-src-8d9a84ecfe5bf80834991c8cbb60167fa2bc25bd.zip
FreeBSD-src-8d9a84ecfe5bf80834991c8cbb60167fa2bc25bd.tar.gz
Add a structure definition to the MD* Contexts, so that cvs can use
the standard libmd version of MD5 instead of it's own seperate copy..
-rw-r--r--lib/libmd/md2.h2
-rw-r--r--lib/libmd/md4.h2
-rw-r--r--lib/libmd/md5.h2
-rw-r--r--sys/sys/md5.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/libmd/md2.h b/lib/libmd/md2.h
index 5c343c4..ca94831 100644
--- a/lib/libmd/md2.h
+++ b/lib/libmd/md2.h
@@ -23,7 +23,7 @@
#ifndef _MD2_H_
#define _MD2_H_
-typedef struct {
+typedef struct MD2Context {
unsigned char state[16]; /* state */
unsigned char checksum[16]; /* checksum */
unsigned int count; /* number of bytes, modulo 16 */
diff --git a/lib/libmd/md4.h b/lib/libmd/md4.h
index 22f7c06..ea4ec8a 100644
--- a/lib/libmd/md4.h
+++ b/lib/libmd/md4.h
@@ -26,7 +26,7 @@
#ifndef _MD4_H_
#define _MD4_H_
/* MD4 context. */
-typedef struct {
+typedef struct MD4Context {
unsigned long state[4]; /* state (ABCD) */
unsigned long count[2]; /* number of bits, modulo 2^64 (lsb first) */
unsigned char buffer[64]; /* input buffer */
diff --git a/lib/libmd/md5.h b/lib/libmd/md5.h
index f5208c5..da0c116 100644
--- a/lib/libmd/md5.h
+++ b/lib/libmd/md5.h
@@ -27,7 +27,7 @@ documentation and/or software.
#ifndef _MD5_H_
#define _MD5_H_
/* MD5 context. */
-typedef struct {
+typedef struct MD5Context {
unsigned long state[4]; /* state (ABCD) */
unsigned long count[2]; /* number of bits, modulo 2^64 (lsb first) */
unsigned char buffer[64]; /* input buffer */
diff --git a/sys/sys/md5.h b/sys/sys/md5.h
index f5208c5..da0c116 100644
--- a/sys/sys/md5.h
+++ b/sys/sys/md5.h
@@ -27,7 +27,7 @@ documentation and/or software.
#ifndef _MD5_H_
#define _MD5_H_
/* MD5 context. */
-typedef struct {
+typedef struct MD5Context {
unsigned long state[4]; /* state (ABCD) */
unsigned long count[2]; /* number of bits, modulo 2^64 (lsb first) */
unsigned char buffer[64]; /* input buffer */
OpenPOWER on IntegriCloud