1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-10 06:23:01 +03:00

dh: Fix wrong assignment.

Ups, sorry.
This commit is contained in:
Andreas Schneider
2013-11-14 08:08:49 +01:00
parent cd992a90fb
commit 2b3e69fd5f

View File

@@ -947,7 +947,7 @@ int generate_session_keys(ssh_session session) {
if (tmp == NULL) {
goto error;
}
tmp = crypto->decryptkey;
crypto->decryptkey = tmp;
if(crypto->decryptkey == NULL)
goto error;