summaryrefslogtreecommitdiffstats
path: root/src/method_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/method_null.c')
-rw-r--r--src/method_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/method_null.c b/src/method_null.c
index e8b3fca..848f62d 100644
--- a/src/method_null.c
+++ b/src/method_null.c
@@ -35,7 +35,7 @@ static size_t method_min_head_space(fastd_context *ctx) {
return 0;
}
-static fastd_method_session_state* method_session_init(fastd_context *ctx, uint8_t *secret, size_t length, bool initiator) {
+static fastd_method_session_state* method_session_init(fastd_context *ctx, uint8_t *secret, size_t length, bool initiator, fastd_method_session_state *old_session) {
if (initiator)
return (fastd_method_session_state*)1;
else