~ubuntu-branches/debian/wheezy/libnice/wheezy

« back to all changes in this revision

Viewing changes to stun/sha1.c

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2009-08-06 08:16:59 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806081659-z52bv1tzn1jafn1v
Tags: 0.0.9-2
Re-enable gupnp-igd support

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
{
144
144
  uint32_t a, b, c, d, e;
145
145
  typedef union {
146
 
    unsigned char c[64];
 
146
    uint8_t c[64];
147
147
    uint32_t l[16];
148
148
  } CHAR64LONG16;
149
149
  CHAR64LONG16* block;
150
 
  uint32_t workspace[16];
 
150
  uint8_t workspace[64];
151
151
  block = (CHAR64LONG16 *) workspace;
152
152
  memcpy(block, buffer, 64);
153
153