version 1.29, 1999/11/15 20:53:25 |
version 1.30, 1999/11/15 21:38:54 |
|
|
debug("Sent encrypted session key."); |
debug("Sent encrypted session key."); |
|
|
/* Set the encryption key. */ |
/* Set the encryption key. */ |
packet_set_encryption_key(session_key, SSH_SESSION_KEY_LENGTH, |
packet_set_encryption_key(session_key, SSH_SESSION_KEY_LENGTH, options.cipher); |
options.cipher, 1); |
|
|
|
/* We will no longer need the session key here. Destroy any extra copies. */ |
/* We will no longer need the session key here. Destroy any extra copies. */ |
memset(session_key, 0, sizeof(session_key)); |
memset(session_key, 0, sizeof(session_key)); |