summaryrefslogtreecommitdiffhomepage
path: root/cli-authpubkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-03-04 21:03:02 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-03-04 21:03:02 +0800
commit03481aba068e534063f58ffaa4e8c2c060fa6e14 (patch)
treeece330526fa74a31bc2f2c7c9387939c65753cc1 /cli-authpubkey.c
parent8b0fdf8010969204a443e877868fca772d18f31c (diff)
Define _GNU_SOURCE properly, other header fixes
This lets -std=c89 build for gcc 8.4.0
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r--cli-authpubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c
index 42c4e3f..28c54fa 100644
--- a/cli-authpubkey.c
+++ b/cli-authpubkey.c
@@ -125,7 +125,7 @@ void recv_msg_userauth_pk_ok() {
static void cli_buf_put_sign(buffer* buf, sign_key *key, enum signature_type sigtype,
const buffer *data_buf) {
#if DROPBEAR_CLI_AGENTFWD
- // TODO: rsa-sha256 agent
+ /* TODO: rsa-sha256 agent */
if (key->source == SIGNKEY_SOURCE_AGENT) {
/* Format the agent signature ourselves, as buf_put_sign would. */
buffer *sigblob;