OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid_sha1.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid_sha1.c 1.1 -> 1.2

--- uuid_sha1.c  2005/01/23 11:28:51     1.1
+++ uuid_sha1.c  2005/03/29 19:01:41     1.2
@@ -92,7 +92,6 @@
 enum {
     shaSuccess = 0,
     shaNull,            /* null pointer parameter */
-    shaInputTooLong,    /* input data too long */
     shaStateError       /* called Input after Result */
 };
 
@@ -173,7 +172,7 @@
         context->Computed    = 1;
     }
     for (i = 0; i < SHA1HashSize; i++)
-        Message_Digest[i] = context->Intermediate_Hash[i>>2] >> 8 * (3 - (i & 0x03));
+        Message_Digest[i] = context->Intermediate_Hash[i>>2] >> (8 * (3 - (i & 0x03)));
 
     return shaSuccess;
 }

CVSTrac 2.0.1