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:
@@ -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
|
||||
|
Reference in New Issue
Block a user