tls-crypto: Rename parameter to be more consistent

Also add missing parameter in documentation of calculate_finished method.
This commit is contained in:
Pascal Knecht
2021-02-12 14:35:23 +01:00
committed by Tobias Brunner
parent 6549adb608
commit 328d7af6d2
4 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -563,10 +563,11 @@ struct tls_crypto_t {
/**
* Calculate the data of a TLS finished message.
*
* @param server Whether the server or client finish message is calculated
* @param out buffer to write finished data to
* @return TRUE if calculation successful
*/
bool (*calculate_finished)(tls_crypto_t *this, bool is_server,
bool (*calculate_finished)(tls_crypto_t *this, bool server,
chunk_t *out);
/**