[rtems commit] libmd: New defines for FreeBSD compatibility

Sebastian Huber sebh at rtems.org
Tue Oct 22 08:54:12 UTC 2013


Module:    rtems
Branch:    master
Commit:    8e8b18bb5b13cbc1abee238fb034683a65bf3d90
Changeset: http://git.rtems.org/rtems/commit/?id=8e8b18bb5b13cbc1abee238fb034683a65bf3d90

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Oct 22 11:00:04 2013 +0200

libmd: New defines for FreeBSD compatibility

---

 cpukit/libmd/md5.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cpukit/libmd/md5.h b/cpukit/libmd/md5.h
index 543c539..450cb9f 100644
--- a/cpukit/libmd/md5.h
+++ b/cpukit/libmd/md5.h
@@ -48,6 +48,9 @@ extern "C" {
 /* typedef a 32-bit type */
 typedef uint32_t UINT4;
 
+#define MD5_BLOCK_LENGTH		64
+#define MD5_DIGEST_LENGTH		16
+
 /* Data structure for MD5 (Message-Digest) computation */
 typedef struct {
   UINT4 i[2];                   /* number of _bits_ handled mod 2^64 */




More information about the vc mailing list