~ubuntu-branches/ubuntu/saucy/ucarp/saucy

« back to all changes in this revision

Viewing changes to src/crypto-sha1.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Evans
  • Date: 2004-12-24 12:39:30 UTC
  • Revision ID: james.westby@ubuntu.com-20041224123930-9qnzcd6o5j0jjjvm
Tags: 1.1-2
Patched to correct a bug that caused upscript to also be applied
when state changed to BACKUP, if --dowscript was passed before
--upscript, (Closes: #284891). Thanks Michail Bachmann
<michail.bachmann@cms.hu-berlin.de>

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    } CHAR64LONG16;
62
62
    CHAR64LONG16 *block;
63
63
#ifdef SHA1HANDSOFF
64
 
    static unsigned char workspace[64];
 
64
    static CHAR64LONG16 workspace;
65
65
 
66
 
    block = (CHAR64LONG16 *) workspace;
 
66
    block = &workspace;
67
67
    memcpy(block, buffer, 64);
68
68
#else
69
69
    block = (CHAR64LONG16 *) buffer;