r3961: - fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Nov 2004 18:23:58 +0000 (18:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:08 +0000 (13:06 -0500)
- remove unused typedef

metze
(This used to be commit 19613122a5222b152044b1f86136496b95d4a3e3)

source4/lib/crypto/md5.c
source4/lib/crypto/md5.h

index 07028e90439c8675be79f0a78eeae2f5ce430319..38ef3fdfbd745f3109274348367c57470a3f5087 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "md5.h"
 
+
 static void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
 
 /*
@@ -57,7 +58,7 @@ void MD5Init(struct MD5Context *ctx)
  * Update context to reflect the concatenation of another buffer full
  * of bytes.
  */
-void MD5Update(struct MD5Context *ctx, uint8_t const *buf, uint_t len)
+void MD5Update(struct MD5Context *ctx, const uint8_t const *buf, uint_t len)
 {
     register uint32_t t;
 
index cd23979f8af55a49673d5acb4bc5fbffa43f542f..a622cf232a243414f19681f85dc08be6911b8e2f 100644 (file)
@@ -12,13 +12,8 @@ struct MD5Context {
 };
 
 void MD5Init(struct MD5Context *context);
-void MD5Update(struct MD5Context *context, uint8_t const *buf,
+void MD5Update(struct MD5Context *context, const uint8_t const *buf,
               uint_t len);
 void MD5Final(uint8_t digest[16], struct MD5Context *context);
 
-/*
- * This is needed to make RSAREF happy on some MS-DOS compilers.
- */
-typedef struct MD5Context MD5_CTX;
-
 #endif /* !MD5_H */