diff options
| author | Fabiano Fidêncio <fidencio@redhat.com> | 2015-09-17 09:43:33 +0200 |
|---|---|---|
| committer | Fabiano Fidêncio <fidencio@redhat.com> | 2015-10-12 13:56:21 +0200 |
| commit | 774c0998aa8cd89f86a016b6b6b8ab6b3b8f26e9 (patch) | |
| tree | 73151368afe1daa9151517b604daaf1a85e23fc4 /src/auth.c | |
| parent | 65fc8d0fddb172e31111536029c6de2b6f28799d (diff) | |
| download | libssh-774c0998aa8cd89f86a016b6b6b8ab6b3b8f26e9.tar.gz libssh-774c0998aa8cd89f86a016b6b6b8ab6b3b8f26e9.tar.xz libssh-774c0998aa8cd89f86a016b6b6b8ab6b3b8f26e9.zip | |
cleanup: use ssh_ prefix in the buffer (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes
when compiling libssh statically.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'src/auth.c')
| -rw-r--r-- | src/auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -158,7 +158,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_banner){ (void)type; (void)user; - banner = buffer_get_ssh_string(packet); + banner = ssh_buffer_get_ssh_string(packet); if (banner == NULL) { SSH_LOG(SSH_LOG_WARN, "Invalid SSH_USERAUTH_BANNER packet"); @@ -615,7 +615,7 @@ int ssh_userauth_publickey(ssh_session session, goto fail; } - rc = buffer_add_ssh_string(session->out_buffer, str); + rc = ssh_buffer_add_ssh_string(session->out_buffer, str); ssh_string_free(str); str = NULL; if (rc < 0) { @@ -700,7 +700,7 @@ static int ssh_userauth_agent_publickey(ssh_session session, goto fail; } - rc = buffer_add_ssh_string(session->out_buffer, str); + rc = ssh_buffer_add_ssh_string(session->out_buffer, str); ssh_string_free(str); if (rc < 0) { goto fail; |
