aboutsummaryrefslogtreecommitdiff
path: root/src/ecdh.c
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2015-09-17 10:26:05 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2016-01-19 11:31:07 +0100
commitc487f5db5b75cee9aa61a4941bacb060d6c94a7c (patch)
tree5552f84a025bb95d4b084c52fc27577ff260d54a /src/ecdh.c
parent501faacf8ec6fe75b032fa7bfabff82a83b0555e (diff)
downloadlibssh-c487f5db5b75cee9aa61a4941bacb060d6c94a7c.tar.gz
libssh-c487f5db5b75cee9aa61a4941bacb060d6c94a7c.tar.xz
libssh-c487f5db5b75cee9aa61a4941bacb060d6c94a7c.zip
cleanup: use ssh_ prefix in the dh (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> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/ecdh.c')
-rw-r--r--src/ecdh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ecdh.c b/src/ecdh.c
index c69878a4..211d4ee8 100644
--- a/src/ecdh.c
+++ b/src/ecdh.c
@@ -299,7 +299,7 @@ int ssh_server_ecdh_init(ssh_session session, ssh_buffer packet){
return SSH_ERROR;
}
- rc = make_sessionid(session);
+ rc = ssh_make_sessionid(session);
if (rc != SSH_OK) {
ssh_set_error(session, SSH_FATAL, "Could not create a session id");
return SSH_ERROR;