aboutsummaryrefslogtreecommitdiff
path: root/src/agent.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-01-19 20:55:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-19 20:55:55 +0100
commitcb9786b3ae7455fc1206157fa27ce25e1a1b227b (patch)
treef28c2aa2c587be9242065fd3b358dbae08ed5923 /src/agent.c
parent9c4144689d7d062aa636a019b416d172a9e12c29 (diff)
downloadlibssh-cb9786b3ae7455fc1206157fa27ce25e1a1b227b.tar.gz
libssh-cb9786b3ae7455fc1206157fa27ce25e1a1b227b.tar.xz
libssh-cb9786b3ae7455fc1206157fa27ce25e1a1b227b.zip
src: Rename buffer_add_data() to ssh_buffer_add_data().
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agent.c b/src/agent.c
index e764525c..d5257604 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -300,7 +300,7 @@ static int agent_talk(struct ssh_session_struct *session,
"Error reading response from authentication socket.");
return -1;
}
- if (buffer_add_data(reply, payload, n) < 0) {
+ if (ssh_buffer_add_data(reply, payload, n) < 0) {
SSH_LOG(SSH_LOG_WARN, "Not enough space");
return -1;
}
@@ -526,7 +526,7 @@ ssh_string ssh_agent_sign_data(ssh_session session,
ssh_buffer_free(request);
return NULL;
}
- if (buffer_add_data(request, buffer_get_rest(data), dlen) < 0) {
+ if (ssh_buffer_add_data(request, buffer_get_rest(data), dlen) < 0) {
ssh_buffer_free(request);
return NULL;
}