send ABOR protect with security layer if its there
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14138 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1741,8 +1741,11 @@ abort_remote (FILE * din)
|
||||
snprintf (buf, sizeof (buf), "%c%c%c", IAC, IP, IAC);
|
||||
if (send (fileno (cout), buf, 3, MSG_OOB) != 3)
|
||||
warn ("abort");
|
||||
fprintf (cout, "%cABOR\r\n", DM);
|
||||
fflush (cout);
|
||||
fprintf (cout, "%c", DM);
|
||||
sec_fprintf(cout, "ABOR");
|
||||
sec_fflush (cout);
|
||||
fprintf (cout, "\r\n");
|
||||
fflush(cout);
|
||||
FD_ZERO (&mask);
|
||||
if (fileno (cin) >= FD_SETSIZE)
|
||||
errx (1, "fd too large");
|
||||
|
Reference in New Issue
Block a user