svn commit: samba r3961 - in branches/SAMBA_4_0/source/lib/crypto: .
metze at samba.org
metze at samba.org
Thu Nov 25 18:23:58 GMT 2004
Author: metze
Date: 2004-11-25 18:23:58 +0000 (Thu, 25 Nov 2004)
New Revision: 3961
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3961
Log:
- fix compiler warnings
- remove unused typedef
metze
Modified:
branches/SAMBA_4_0/source/lib/crypto/md5.c
branches/SAMBA_4_0/source/lib/crypto/md5.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/crypto/md5.c
===================================================================
--- branches/SAMBA_4_0/source/lib/crypto/md5.c 2004-11-25 18:02:35 UTC (rev 3960)
+++ branches/SAMBA_4_0/source/lib/crypto/md5.c 2004-11-25 18:23:58 UTC (rev 3961)
@@ -22,6 +22,7 @@
#include "md5.h"
+
static void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
/*
@@ -57,7 +58,7 @@
* 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;
Modified: branches/SAMBA_4_0/source/lib/crypto/md5.h
===================================================================
--- branches/SAMBA_4_0/source/lib/crypto/md5.h 2004-11-25 18:02:35 UTC (rev 3960)
+++ branches/SAMBA_4_0/source/lib/crypto/md5.h 2004-11-25 18:23:58 UTC (rev 3961)
@@ -12,13 +12,8 @@
};
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 */
More information about the samba-cvs
mailing list