aboutsummaryrefslogtreecommitdiff
path: root/src/pki.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/pki.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/pki.c')
-rw-r--r--src/pki.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pki.c b/src/pki.c
index 9b77302f..4f3ce3e6 100644
--- a/src/pki.c
+++ b/src/pki.c
@@ -811,7 +811,7 @@ int ssh_pki_import_pubkey_blob(const ssh_string key_blob,
return SSH_ERROR;
}
- rc = buffer_add_data(buffer, ssh_string_data(key_blob),
+ rc = ssh_buffer_add_data(buffer, ssh_string_data(key_blob),
ssh_string_len(key_blob));
if (rc < 0) {
ssh_pki_log("Out of memory!");
@@ -1236,9 +1236,9 @@ int ssh_pki_import_signature_blob(const ssh_string sig_blob,
return SSH_ERROR;
}
- rc = buffer_add_data(buf,
- ssh_string_data(sig_blob),
- ssh_string_len(sig_blob));
+ rc = ssh_buffer_add_data(buf,
+ ssh_string_data(sig_blob),
+ ssh_string_len(sig_blob));
if (rc < 0) {
ssh_buffer_free(buf);
return SSH_ERROR;