~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/password.c

  • Committer: Brian Aker
  • Date: 2008-08-10 16:57:26 UTC
  • Revision ID: brian@tangent.org-20080810165726-mc1660l11a5vkv69
libdrizzle has ulong removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
 
115
115
void hash_password(uint32_t *result, const char *password, uint32_t password_len)
116
116
{
117
 
  register ulong nr=1345345333L, add=7, nr2=0x12345671L;
 
117
  register uint32_t nr=1345345333L, add=7, nr2=0x12345671L;
118
118
  uint32_t tmp;
119
119
  const char *password_end= password + password_len;
120
120
  for (; password < password_end; password++)