(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:
Assar Westerlund
1998-11-02 00:15:02 +00:00
parent 77931c502f
commit c63b15e404

View File

@@ -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;
}
{