Can anyone please clarify my doubts.

         I had built 64-bit libdkim in solaris 10. I'm trying to cross check whether the body hash and signature created by libdkim against openssl , by doing manual canonicalization and calculating hash and signature using openssl commands. But the hash created by both of them differs.

 The Data Was very simple to be: "This\r\n"

But the hash was completely different.

The openssl command was:

       opennsl dgst -sha1 -in Inputfile -out Outfile

Inputfile contains : This\r\n

The Version of dkim-milter i'm using is: dkim-milter-2.8.0.Beta4

So, can anyone please help me.

Deiva Shanmugam