summaryrefslogtreecommitdiff
path: root/lib/verify-tofu.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-11 12:21:59 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-11 13:21:04 +0200
commitaa2cc04b9ef04404b719db5d693e6f146dbe026a (patch)
tree469b7b176428d24e797ae39105705eea45ef1901 /lib/verify-tofu.c
parent09f1d96b662d34c55de9903a8a890ad887bcd699 (diff)
downloadgnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'lib/verify-tofu.c')
-rw-r--r--lib/verify-tofu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c
index b81d255183..788ca9ac80 100644
--- a/lib/verify-tofu.c
+++ b/lib/verify-tofu.c
@@ -211,7 +211,7 @@ static int parse_commitment_line(char *line,
/* hash and hex encode */
ret =
_gnutls_hash_fast((gnutls_digest_algorithm_t)hash_algo->id,
- skey->data, skey->size, phash);
+ skey->data, skey->size, phash);
if (ret < 0)
return gnutls_assert_val(ret);
@@ -728,8 +728,8 @@ int gnutls_tdb_init(gnutls_tdb_t * tdb)
* trust storage structure. The function is of the following form.
*
* int gnutls_tdb_store_func(const char* db_name, const char* host,
- * const char* service, time_t expiration,
- * const gnutls_datum_t* pubkey);
+ * const char* service, time_t expiration,
+ * const gnutls_datum_t* pubkey);
*
* The @db_name should be used to pass any private data to this function.
*
@@ -749,8 +749,8 @@ void gnutls_tdb_set_store_func(gnutls_tdb_t tdb,
* trust storage structure. The function is of the following form.
*
* int gnutls_tdb_store_commitment_func(const char* db_name, const char* host,
- * const char* service, time_t expiration,
- * gnutls_digest_algorithm_t, const gnutls_datum_t* hash);
+ * const char* service, time_t expiration,
+ * gnutls_digest_algorithm_t, const gnutls_datum_t* hash);
*
* The @db_name should be used to pass any private data to this function.
*
@@ -771,7 +771,7 @@ void gnutls_tdb_set_store_commitment_func(gnutls_tdb_t tdb,
* trust storage structure. The function is of the following form.
*
* int gnutls_tdb_verify_func(const char* db_name, const char* host,
- * const char* service, const gnutls_datum_t* pubkey);
+ * const char* service, const gnutls_datum_t* pubkey);
*
* The verify function should return zero on a match, %GNUTLS_E_CERTIFICATE_KEY_MISMATCH
* if there is a mismatch and any other negative error code otherwise.