summaryrefslogtreecommitdiffhomepage
path: root/cli-authpubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r--cli-authpubkey.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c
index cf506b8..49853ed 100644
--- a/cli-authpubkey.c
+++ b/cli-authpubkey.c
@@ -134,13 +134,11 @@ void cli_buf_put_sign(buffer* buf, sign_key *key, int type,
sigblob->len);
buf_free(sigblob);
- } else {
-#endif
+ } else
+#endif /* ENABLE_CLI_AGENTFWD */
+ {
buf_put_sign(buf, key, type, data, len);
-#ifdef ENABLE_CLI_AGENTFWD
}
-#endif
-
}
/* TODO: make it take an agent reference to use as well */