~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/pack.c

  • Committer: Monty Taylor
  • Date: 2011-03-11 20:10:10 UTC
  • mto: This revision was merged to the branch mainline in revision 2231.
  • Revision ID: mordred@inaugust.com-20110311201010-qmspguvxv3s3y2en
ICC warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
  SHA1Final(buffer, &ctx);
301
301
 
302
302
  /* Fourth, xor the last hash against the first password hash. */
303
 
  for (uint32_t x= 0; x < SHA1_DIGEST_LENGTH; x++)
 
303
  uint32_t x= 0;
 
304
  for (; x < SHA1_DIGEST_LENGTH; x++)
304
305
    buffer[x]= buffer[x] ^ hash_tmp1[x];
305
306
 
306
307
  return DRIZZLE_RETURN_OK;