diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 12:21:59 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 13:21:04 +0200 |
commit | aa2cc04b9ef04404b719db5d693e6f146dbe026a (patch) | |
tree | 469b7b176428d24e797ae39105705eea45ef1901 /tests/resume.c | |
parent | 09f1d96b662d34c55de9903a8a890ad887bcd699 (diff) | |
download | gnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz |
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'tests/resume.c')
-rw-r--r-- | tests/resume.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/resume.c b/tests/resume.c index 21455a4f2d..1bcd3b8d04 100644 --- a/tests/resume.c +++ b/tests/resume.c @@ -168,7 +168,7 @@ static void tls_log_func(int level, const char *str) } static int hsk_hook_cb(gnutls_session_t session, unsigned int htype, unsigned post, - unsigned int incoming, const gnutls_datum_t *_msg) + unsigned int incoming, const gnutls_datum_t *_msg) { unsigned size; gnutls_datum msg = {_msg->data, _msg->size}; @@ -823,7 +823,7 @@ static gnutls_datum_t wrap_db_fetch(void *dbf, gnutls_datum_t key) return res; memcpy(res.data, cache_db[i].session_data, - res.size); + res.size); #ifdef DEBUG_CACHE if (debug) { @@ -831,7 +831,7 @@ static gnutls_datum_t wrap_db_fetch(void *dbf, gnutls_datum_t key) printf("data:\n"); for (j = 0; j < res.size; j++) { printf("%02x ", - res.data[j] & 0xFF); + res.data[j] & 0xFF); if ((j + 1) % 16 == 0) printf("\n"); } |