~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to libtomcrypt/src/hashes/tiger.c

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2008-03-27 20:08:06 UTC
  • mfrom: (1.4.1 upstream) (9 hardy)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20080327200806-c1hhdgt3ht2gk496
Tags: 0.51-1
[ Matt Johnston ]
* New upstream release.
  - Wait until a process exits before the server closes a connection,
    so that an exit code can be sent. This fixes problems with exit
    codes not being returned, which could cause scp to fail (closes:
    #448397, #472483).

[ Gerrit Pape ]
* debian/dropbear.postinst: don't print an error message if the
  update-service program is not installed (thx Matt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * The library is free for all purposes without any express
7
7
 * guarantee it works.
8
8
 *
9
 
 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.org
 
9
 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
10
10
 */
11
11
 
12
12
#include "tomcrypt.h"
32
32
    &tiger_init,
33
33
    &tiger_process,
34
34
    &tiger_done,
35
 
    &tiger_test
 
35
    &tiger_test,
 
36
    NULL
36
37
};
37
38
 
38
39
#define t1 (table)
774
775
      tiger_init(&md);
775
776
      tiger_process(&md, (unsigned char *)tests[i].msg, (unsigned long)strlen(tests[i].msg));
776
777
      tiger_done(&md, tmp);
777
 
      if (memcmp(tmp, tests[i].hash, 24) != 0) {
 
778
      if (XMEMCMP(tmp, tests[i].hash, 24) != 0) {
778
779
          return CRYPT_FAIL_TESTVECTOR;
779
780
      }
780
781
  }
809
810
 
810
811
 
811
812
/* $Source: /cvs/libtom/libtomcrypt/src/hashes/tiger.c,v $ */
812
 
/* $Revision: 1.5 $ */
813
 
/* $Date: 2005/05/23 02:42:07 $ */
 
813
/* $Revision: 1.8 $ */
 
814
/* $Date: 2006/11/01 09:28:17 $ */