aboutsummaryrefslogtreecommitdiff
path: root/src/packet_cb.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/packet_cb.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/packet_cb.c')
-rw-r--r--src/packet_cb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/packet_cb.c b/src/packet_cb.c
index cd869aa7..472e8a73 100644
--- a/src/packet_cb.c
+++ b/src/packet_cb.c
@@ -154,20 +154,20 @@ SSH_PACKET_CALLBACK(ssh_packet_newkeys){
} else {
ssh_key key;
/* client */
- rc = make_sessionid(session);
+ rc = ssh_make_sessionid(session);
if (rc != SSH_OK) {
goto error;
}
/*
* Set the cryptographic functions for the next crypto
- * (it is needed for generate_session_keys for key lengths)
+ * (it is needed for ssh_generate_session_keys for key lengths)
*/
if (crypt_set_algorithms(session, SSH_3DES) /* knows nothing about DES*/ ) {
goto error;
}
- if (generate_session_keys(session) < 0) {
+ if (ssh_generate_session_keys(session) < 0) {
goto error;
}