diff options
author | jbj <devnull@localhost> | 1999-05-05 13:25:25 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-05-05 13:25:25 +0000 |
commit | 8b7923f6bc11107d441a8edb6a08c81ab66c3cd6 (patch) | |
tree | 8ecf2ab254e742de3784fc8c10060257bff389dc /lib/md5.h | |
parent | 05d3980fa413c89babe2a59221bd81804b6e6834 (diff) | |
download | librpm-tizen-8b7923f6bc11107d441a8edb6a08c81ab66c3cd6.tar.gz librpm-tizen-8b7923f6bc11107d441a8edb6a08c81ab66c3cd6.tar.bz2 librpm-tizen-8b7923f6bc11107d441a8edb6a08c81ab66c3cd6.zip |
add rpm prefix to MD5 routines to avoid name conflict on solaris.
CVS patchset: 3049
CVS date: 1999/05/05 13:25:25
Diffstat (limited to 'lib/md5.h')
-rw-r--r-- | lib/md5.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,11 +14,11 @@ struct MD5Context { int doByteReverse; }; -void MD5Init(struct MD5Context *context, int brokenEndian); -void MD5Update(struct MD5Context *context, unsigned char const *buf, +void rpmMD5Init(struct MD5Context *context, int brokenEndian); +void rpmMD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); -void MD5Final(unsigned char digest[16], struct MD5Context *context); -void MD5Transform(uint32 buf[4], uint32 const in[16]); +void rpmMD5Final(unsigned char digest[16], struct MD5Context *context); +void rpmMD5Transform(uint32 buf[4], uint32 const in[16]); int mdfile(const char *fn, unsigned char *digest); int mdbinfile(const char *fn, unsigned char *bindigest); |