Mercurial > dropbear
comparison crypt_cipher_descriptor.c @ 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 | 7ed585a2c53b |
children |
comparison
equal
deleted
inserted
replaced
144:7ed585a2c53b | 147:c2b93763dac9 |
---|---|
8 * | 8 * |
9 * Tom St Denis, [email protected], http://libtomcrypt.org | 9 * Tom St Denis, [email protected], http://libtomcrypt.org |
10 */ | 10 */ |
11 #include "mycrypt.h" | 11 #include "mycrypt.h" |
12 | 12 |
13 struct _cipher_descriptor cipher_descriptor[TAB_SIZE]; | 13 struct _cipher_descriptor cipher_descriptor[TAB_SIZE] = { |
14 | 14 /* This is ugly, but OS X's ar seems broken and leaves the |
15 * cipher_descriptor symbol out of the .a if we don't | |
16 * initialise it here. */ | |
17 {NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL}, | |
18 {NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL}, | |
19 {NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL}, | |
20 {NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL}, | |
21 }; |