monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Big vs. Little endian problem in md5 code?


From: Christian Hopp
Subject: Big vs. Little endian problem in md5 code?
Date: Fri, 25 Oct 2002 14:47:23 +0200 (CEST)

Hi!

I am implementing the md5 stuff right now for certs... so I "played" a
bit with using the _file_ md5 support!  Result was this.  I took
/bin/true as my target, like this...

check pop3s with pidfile /var/run/pop3.pid
      port 995 type tcpssl protocol pop
      start program = "/bin/true"
      stop program = "/bin/true"
      alert address@hidden
      checksum /home/chopp/true expect 508b2fa3a4fe7139341a9a919660bab2

I have generated the md5 sum...

Solaris sparc with md5sum prg...: 508b2fa3a4fe7139341a9a919660bab2
Solaris sparc with md5 prg...: 508b2fa3a4fe7139341a9a919660bab2
Linux intel with md5sum prg...: 508b2fa3a4fe7139341a9a919660bab2

Monit Solaris sparc...: 8b2502d1c1c1acc2699c3f5c46afbf43
Monit Linux sparc...:  8b2502d1c1c1acc2699c3f5c46afbf43
BUT Monit Linux i386...: 508b2fa3a4fe7139341a9a919660bab2

And the file is of course always the SAME.

What's happening there???

Christian


-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
Technische Universität Clausthal                         fax: +49-5323-72-3197
  pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc  (2001-11-22)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]