summaryrefslogtreecommitdiffstats
path: root/src/protocol_ec25519_fhmqvc.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-09-15 19:57:18 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-09-15 19:57:18 +0200
commitf33d7756b8361ca38991bfe9d39ea5de13f86dfc (patch)
treef43a86dfebaff297ddc18778c2765a8f6c9f58d8 /src/protocol_ec25519_fhmqvc.c
parentb2d02587fcd86f0c3910441d58c94dd0c9fea5b5 (diff)
downloadfastd-f33d7756b8361ca38991bfe9d39ea5de13f86dfc.tar
fastd-f33d7756b8361ca38991bfe9d39ea5de13f86dfc.zip
Use inline function for alignment
Diffstat (limited to 'src/protocol_ec25519_fhmqvc.c')
-rw-r--r--src/protocol_ec25519_fhmqvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol_ec25519_fhmqvc.c b/src/protocol_ec25519_fhmqvc.c
index 964c21d..02920f4 100644
--- a/src/protocol_ec25519_fhmqvc.c
+++ b/src/protocol_ec25519_fhmqvc.c
@@ -726,7 +726,7 @@ static void protocol_send(fastd_context *ctx, fastd_peer *peer, fastd_buffer buf
}
static void send_empty(fastd_context *ctx, fastd_peer *peer, protocol_session *session) {
- session_send(ctx, peer, fastd_buffer_alloc(0, ALIGN(session->method->min_encrypt_head_space(ctx), 8), session->method->min_encrypt_tail_space(ctx)), session);
+ session_send(ctx, peer, fastd_buffer_alloc(0, alignto(session->method->min_encrypt_head_space(ctx), 8), session->method->min_encrypt_tail_space(ctx)), session);
}
static void protocol_init_peer_state(fastd_context *ctx, fastd_peer *peer) {