1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

dh: Fix wrong assignment.

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

View File

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