Mercurial > dropbear
diff mycrypt_hash.h @ 147:c2b93763dac9 libtomcrypt
Fixes for it to compile and work nicely with Dropbear.
In particular, OS X's 'ar' doesn't seem to like arrays
which don't have initialising values.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 19 Dec 2004 16:23:32 +0000 |
parents | 5d99163f7e32 |
children |
line wrap: on
line diff
--- a/mycrypt_hash.h Sun Dec 19 11:47:33 2004 +0000 +++ b/mycrypt_hash.h Sun Dec 19 16:23:32 2004 +0000 @@ -127,8 +127,11 @@ unsigned char ID; unsigned long hashsize; /* digest output size in bytes */ unsigned long blocksize; /* the block size the hash uses */ +#if 0 + /*matt - we don't need these and they make the intialisers more ugly.*/ unsigned char DER[64]; /* DER encoded identifier */ unsigned long DERlen; /* length of DER encoding */ +#endif int (*init)(hash_state *); int (*process)(hash_state *, const unsigned char *, unsigned long); int (*done)(hash_state *, unsigned char *);