Only ouput warnig about "connection not encrypted" if decrypt_input != NULL

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@42 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Unknown User d91-jda
1995-07-13 14:02:06 +00:00
parent 71d60da059
commit 875226fe66

View File

@@ -1402,9 +1402,13 @@ startslave(host, autologin, autoname)
#endif
{
char *tbuf =
"\r\n*** Connection not encrypted! Communication may be eavesdropped.***\r\n";
writenet(tbuf, strlen(tbuf));
char *tbuf =
"\r\n*** Connection not encrypted! "
"Communication may be eavesdropped.***\r\n";
#ifdef ENCRYPTION
if(!decrypt_input)
#endif
writenet(tbuf, strlen(tbuf));
}
#ifndef NEWINIT
# ifdef PARENT_DOES_UTMP