~ubuntu-branches/ubuntu/trusty/rhash/trusty

« back to all changes in this revision

Viewing changes to librhash/aich.h

  • Committer: Bazaar Package Importer
  • Author(s): Aleksey Kravchenko
  • Date: 2011-08-14 20:35:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110814203500-rvnovipwcpqkm91u
Tags: 1.2.7-1
* New upstream release version 1.2.7
 - Fixes security issue (Closes: #632280)
 - changed author/mantainer name to the way I prefer s/Alexey S/Aleksey/
 - simplified desriptions of binary packages
 - wriiten rules in more now standard way, using CFLAGS/LDFLAGS
 - reworded README.Debian a bit
 - aplied patch from upstream to fix possible segfault
 - aplied patch from upstream to fix glibc runtime warning
 - aplied patch from upstream to repair -openssl option handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        void *sha_init, *sha_update, *sha_final;
17
17
        unsigned long sha1_length;
18
18
#endif
19
 
        unsigned index;        /* algoritm position in the current ed2k chunk */
 
19
        unsigned index;        /* algorithm position in the current ed2k chunk */
20
20
        unsigned char (*block_hashes)[sha1_hash_size];
21
21
 
22
22
        void** chunk_table;    /* table of chunk hashes */
23
23
        size_t allocated;      /* allocated size of the chunk_table */
24
24
        size_t chunks_number;  /* number of ed2k chunks hashed */
25
 
        int error;             /* non-zero if a memory error occured, 0 otherwise */
 
25
        int error;             /* non-zero if a memory error occurred, 0 otherwise */
26
26
} aich_ctx;
27
27
 
28
28
/* hash functions */