diff options
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -176,14 +176,14 @@ typedef void | |||
176 | 176 | ||
177 | typedef int | 177 | typedef int |
178 | (*MsgIn)(struct BRANDT_Auction *ad, | 178 | (*MsgIn)(struct BRANDT_Auction *ad, |
179 | const unsigned char *buf, | 179 | const unsigned char *buf, |
180 | size_t buflen, | 180 | size_t buflen, |
181 | uint16_t sender); | 181 | uint16_t sender); |
182 | 182 | ||
183 | 183 | ||
184 | typedef unsigned char * | 184 | typedef unsigned char * |
185 | (*MsgOut)(struct BRANDT_Auction *ad, | 185 | (*MsgOut)(struct BRANDT_Auction *ad, |
186 | size_t *buflen); | 186 | size_t *buflen); |
187 | 187 | ||
188 | 188 | ||
189 | /** | 189 | /** |
@@ -317,9 +317,9 @@ static const MsgOut handler_out[auction_last][outcome_last][msg_last] = { | |||
317 | * of 0 means a private outcome, while a value of 1 means public outcome. | 317 | * of 0 means a private outcome, while a value of 1 means public outcome. |
318 | */ | 318 | */ |
319 | static const Result handler_res[auction_last][outcome_last] = { | 319 | static const Result handler_res[auction_last][outcome_last] = { |
320 | [auction_firstPrice] = { | 320 | [auction_firstPrice] = { |
321 | [outcome_private] = &fp_priv_determine_outcome, | 321 | [outcome_private] = &fp_priv_determine_outcome, |
322 | [outcome_public] = &fp_pub_determine_outcome, | 322 | [outcome_public] = &fp_pub_determine_outcome, |
323 | }, | 323 | }, |
324 | // [auction_mPlusFirstPrice] = { | 324 | // [auction_mPlusFirstPrice] = { |
325 | // [outcome_private] = , | 325 | // [outcome_private] = , |