diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-23 12:56:44 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-23 12:56:44 +0200 |
commit | 4561ac2026d931d9aeab36e07fd041ae60c937ee (patch) | |
tree | 6cb70c855af6c55a0995fced1f403f140b1cf0bf /test_crypto.c | |
parent | b1a5fbd3b84b09f99dfdab044f692923a813b784 (diff) |
add msg headers
Diffstat (limited to 'test_crypto.c')
-rw-r--r-- | test_crypto.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test_crypto.c b/test_crypto.c index 74bf1fe..53e06fe 100644 --- a/test_crypto.c +++ b/test_crypto.c @@ -212,7 +212,12 @@ test_setup_auction_data () { \ if (s == i) \ continue; \ - CHECK (handler_in[type][oc][index] (&ad[i], bufs[s], lens[s], s), \ + CHECK (handler_in[type][oc][index] (&ad[i], \ + bufs[s] + \ + sizeof (struct msg_head), \ + lens[s] - \ + sizeof (struct msg_head), \ + s), \ "failed checking keyshare"); \ } \ } \ |