~mordred/libmemcached/merge-vs-work

« back to all changes in this revision

Viewing changes to libhashkit/md5.c

  • Committer: Monty Taylor
  • Date: 2011-02-13 18:47:03 UTC
  • Revision ID: mordred@inaugust.com-20110213184703-usxdc2h4do3bnxhx
Build for Visual Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
   (((UINT4)input[j+2]) << 16) | (((UINT4)input[j+3]) << 24);
353
353
}
354
354
 
355
 
uint32_t hashkit_md5(const char *key, size_t key_length, void *context __attribute__((unused)))
 
355
uint32_t hashkit_md5(const char *key, size_t key_length, void *context)
356
356
{
 
357
  (void)context;
357
358
  unsigned char results[16];
358
359
 
359
360
  md5_signature((unsigned char*)key, (unsigned int)key_length, results);