summaryrefslogtreecommitdiff
path: root/lib/cipher_int.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/cipher_int.c
parent09f1d96b662d34c55de9903a8a890ad887bcd699 (diff)
downloadgnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'lib/cipher_int.c')
-rw-r--r--lib/cipher_int.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/cipher_int.c b/lib/cipher_int.c
index 6482e00bc5..46ce30b6c8 100644
--- a/lib/cipher_int.c
+++ b/lib/cipher_int.c
@@ -85,7 +85,7 @@ _gnutls_cipher_init(cipher_hd_st *handle, const cipher_entry_st *e,
if (unlikely(e == NULL || e->id == GNUTLS_CIPHER_NULL))
return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
- FAIL_IF_LIB_ERROR;
+ FAIL_IF_LIB_ERROR;
handle->e = e;
handle->handle = NULL;
@@ -183,7 +183,7 @@ int _gnutls_auth_cipher_init(auth_cipher_hd_st * handle,
if (unlikely(e == NULL))
return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
- FAIL_IF_LIB_ERROR;
+ FAIL_IF_LIB_ERROR;
memset(handle, 0, sizeof(*handle));
handle->etm = etm;
@@ -308,9 +308,9 @@ int _gnutls_auth_cipher_encrypt2_tag(auth_cipher_hd_st * handle,
l = (textlen / blocksize) * blocksize;
if (l > 0) {
ret =
- _gnutls_cipher_encrypt2(&handle->cipher, text,
- l, ciphertext,
- ciphertextlen);
+ _gnutls_cipher_encrypt2(&handle->cipher, text,
+ l, ciphertext,
+ ciphertextlen);
if (ret < 0)
return gnutls_assert_val(ret);
@@ -353,9 +353,9 @@ int _gnutls_auth_cipher_encrypt2_tag(auth_cipher_hd_st * handle,
MAC(handle, ciphertext, textlen);
ret =
- _gnutls_auth_cipher_tag(handle,
- ciphertext + textlen,
- handle->tag_size);
+ _gnutls_auth_cipher_tag(handle,
+ ciphertext + textlen,
+ handle->tag_size);
if (ret < 0)
return gnutls_assert_val(ret);
}