Show
Ignore:
Timestamp:
06/08/07 23:06:09 (18 months ago)
Author:
krobillard
Message:

Thune - Fixed SHA1 checksum.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/files.c

    r389 r407  
    781781                bin->used = 20; 
    782782 
    783                 SHA1Init( &context ); 
    784                 SHA1Update( &context, (uint8_t*) cpA, cpB - cpA ); 
    785                 SHA1Final( bin->ptr.b, &context ); 
    786                  
     783                SHA1_Init( &context ); 
     784                SHA1_Update( &context, (uint8_t*) cpA, cpB - cpA ); 
     785                SHA1_Final( &context, bin->ptr.b ); 
     786 
    787787                ur_initType(res, UT_BINARY); 
    788788                ur_setSeries(res, binN, 0);