(recv_krb5_auth): disable `do_encrypt' if not encrypting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5178 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -307,6 +307,8 @@ recv_krb5_auth (int s, u_char *buf,
|
||||
if (strncmp (cmd, "-x ", 3) == 0) {
|
||||
do_encrypt = 1;
|
||||
memmove (cmd, cmd + 3, strlen(cmd) - 2);
|
||||
} else {
|
||||
do_encrypt = 0;
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user