summaryrefslogtreecommitdiffstats
path: root/src/protocols
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
commit9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch)
treea02c2a507b3d536182d81e78b878b6b29c617cb9 /src/protocols
parent1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff)
downloadfastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar
fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/protocols')
-rw-r--r--src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c2
-rw-r--r--src/protocols/ec25519_fhmqvc/handshake.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
index 8528074..6920b5e 100644
--- a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
+++ b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
@@ -58,7 +58,7 @@ static inline void check_session_refresh(fastd_peer_t *peer) {
}
/** Initializes the protocol-specific configuration */
-static fastd_protocol_config_t* protocol_init(void) {
+static fastd_protocol_config_t * protocol_init(void) {
fastd_protocol_config_t *protocol_config = fastd_new(fastd_protocol_config_t);
if (!conf.secret)
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c
index 94aa338..7487100 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -129,7 +129,7 @@ static inline bool new_session(fastd_peer_t *peer, const fastd_method_info_t *me
fastd_sha256_t secret[blocks];
derive_key(secret, blocks, salt, method->name, A, B, X, Y, sigma);
- peer->protocol_state->session.method_state = method->provider->session_init(method->method, (const uint8_t*)secret, initiator);
+ peer->protocol_state->session.method_state = method->provider->session_init(method->method, (const uint8_t *)secret, initiator);
}
else {
fastd_sha256_t hash;