diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-15 07:59:21 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:34 +0100 |
commit | a2e25e0f4b72f37da4d2823cfa22473fdd0ab77c (patch) | |
tree | 16af4d238ee8800420a9337e4b623fccb6f7bbb9 /lib/constate.c | |
parent | 2f4cd8b95661ad5ad761bb03fcb7a4fba6d2289c (diff) | |
download | gnutls-a2e25e0f4b72f37da4d2823cfa22473fdd0ab77c.tar.gz |
constate: indentation fixes
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/constate.c')
-rw-r--r-- | lib/constate.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/constate.c b/lib/constate.c index e5968804a3..b5dd46be29 100644 --- a/lib/constate.c +++ b/lib/constate.c @@ -213,8 +213,8 @@ _tls13_set_keys(gnutls_session_t session, record_parameters_st * params, ret = _tls13_derive_secret(session, HANDSHAKE_CLIENT_TRAFFIC_LABEL, sizeof(HANDSHAKE_CLIENT_TRAFFIC_LABEL)-1, session->internals.handshake_hash_buffer.data, - session->internals.handshake_hash_buffer.length, session->key.hs_ckey); - + session->internals.handshake_hash_buffer.length, + session->key.hs_ckey); if (ret < 0) return gnutls_assert_val(ret); @@ -229,8 +229,9 @@ _tls13_set_keys(gnutls_session_t session, record_parameters_st * params, /* server keys */ ret = _tls13_derive_secret(session, HANDSHAKE_SERVER_TRAFFIC_LABEL, sizeof(HANDSHAKE_SERVER_TRAFFIC_LABEL)-1, - session->internals.handshake_hash_buffer.data, - session->internals.handshake_hash_buffer.length, session->key.hs_skey); + session->internals.handshake_hash_buffer.data, + session->internals.handshake_hash_buffer.length, + session->key.hs_skey); if (ret < 0) return gnutls_assert_val(ret); @@ -387,8 +388,8 @@ int _gnutls_epoch_set_keys(gnutls_session_t session, uint16_t epoch) _gnutls_record_log ("REC[%p]: Initializing epoch #%u\n", session, params->epoch); - if (_gnutls_cipher_is_ok(params->cipher) == 0 - || _gnutls_mac_is_ok(params->mac) == 0) + if (_gnutls_cipher_is_ok(params->cipher) == 0 || + _gnutls_mac_is_ok(params->mac) == 0) return gnutls_assert_val(GNUTLS_E_UNWANTED_ALGORITHM); if (_gnutls_version_has_explicit_iv(ver) && |