From 1b8074a59e640140115951bf30cfcc7ecd606ff9 Mon Sep 17 00:00:00 2001 From: kstailey Date: Wed, 23 Jul 1997 21:17:57 +0000 Subject: tabify + trailing blanks --- lib/libc/md/md4c.c | 16 ++++++++-------- lib/libc/md/md5c.c | 16 ++++++++-------- lib/libc/md/mdXhl.c | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/md/md4c.c b/lib/libc/md/md4c.c index c1af994a56d..75e84d52384 100644 --- a/lib/libc/md/md4c.c +++ b/lib/libc/md/md4c.c @@ -22,7 +22,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: md4c.c,v 1.10 1997/07/03 23:30:20 provos Exp $"; +static char rcsid[] = "$OpenBSD: md4c.c,v 1.11 1997/07/23 21:17:55 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -51,7 +51,7 @@ static void MD4Transform __P ((u_int32_t [4], const unsigned char [64])); #if BYTE_ORDER == LITTLE_ENDIAN #define Encode memcpy -#define Decode memcpy +#define Decode memcpy #else /* BIG_ENDIAN */ static void Encode __P ((void *, const void *, size_t)); static void Decode __P ((void *, const void *, size_t)); @@ -130,7 +130,7 @@ size_t len; /* MD4 initialization. Begins an MD4 operation, writing a new context. */ void MD4Init (context) -MD4_CTX *context; /* context */ +MD4_CTX *context; /* context */ { context->count = 0; @@ -147,9 +147,9 @@ MD4_CTX *context; /* context */ context. */ void MD4Update (context, input, inputLen) -MD4_CTX *context; /* context */ -const unsigned char *input; /* input block */ -size_t inputLen; /* length of input block */ +MD4_CTX *context; /* context */ +const unsigned char *input; /* input block */ +size_t inputLen; /* length of input block */ { unsigned int i, index, partLen; @@ -184,8 +184,8 @@ size_t inputLen; /* length of input block */ the message digest and zeroizing the context. */ void MD4Final (digest, context) -unsigned char digest[16]; /* message digest */ -MD4_CTX *context; /* context */ +unsigned char digest[16]; /* message digest */ +MD4_CTX *context; /* context */ { unsigned char bits[8]; unsigned int index, padLen; diff --git a/lib/libc/md/md5c.c b/lib/libc/md/md5c.c index 520ef87bc90..0407ba03afc 100644 --- a/lib/libc/md/md5c.c +++ b/lib/libc/md/md5c.c @@ -23,7 +23,7 @@ documentation and/or software. */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: md5c.c,v 1.10 1997/07/03 23:30:21 provos Exp $"; +static char rcsid[] = "$OpenBSD: md5c.c,v 1.11 1997/07/23 21:17:56 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -103,7 +103,7 @@ Rotation is separate from addition to prevent recomputation. (a) += (b); \ } -#if BYTE_ORDER != LITTLE_ENDIAN +#if BYTE_ORDER != LITTLE_ENDIAN /* Encodes input (u_int32_t) into output (unsigned char). Assumes len is a multiple of 4. */ @@ -145,7 +145,7 @@ size_t len; /* MD5 initialization. Begins an MD5 operation, writing a new context. */ void MD5Init (context) -MD5_CTX *context; /* context */ +MD5_CTX *context; /* context */ { context->count = 0; /* Load magic initialization constants. */ @@ -160,9 +160,9 @@ MD5_CTX *context; /* context */ context. */ void MD5Update (context, input, inputLen) -MD5_CTX *context; /* context */ -const unsigned char *input; /* input block */ -size_t inputLen; /* length of input block */ +MD5_CTX *context; /* context */ +const unsigned char *input; /* input block */ +size_t inputLen; /* length of input block */ { unsigned int i, index, partLen; @@ -195,8 +195,8 @@ size_t inputLen; /* length of input block */ the message digest and zeroizing the context. */ void MD5Final (digest, context) -unsigned char digest[16]; /* message digest */ -MD5_CTX *context; /* context */ +unsigned char digest[16]; /* message digest */ +MD5_CTX *context; /* context */ { unsigned char bits[8]; unsigned int index; diff --git a/lib/libc/md/mdXhl.c b/lib/libc/md/mdXhl.c index 20e477e4217..d26424df993 100644 --- a/lib/libc/md/mdXhl.c +++ b/lib/libc/md/mdXhl.c @@ -8,7 +8,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: mdXhl.c,v 1.7 1997/07/12 20:30:57 millert Exp $"; +static char rcsid[] = "$OpenBSD: mdXhl.c,v 1.8 1997/07/23 21:17:56 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -32,7 +32,7 @@ MDXEnd(ctx, buf) static const char hex[]="0123456789abcdef"; if (!p) - p = malloc(33); + p = malloc(33); if (!p) return 0; MDXFinal(digest,ctx); -- cgit v1.2.3