summaryrefslogtreecommitdiff
path: root/net/SSLtelnet/files/patch-ag
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-13 03:36:39 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-13 03:36:39 +0000
commit9fc1c3c4c22d583c467bdc02dead536f164ce632 (patch)
tree8d20677234fd8e4f0c1deec136f9fed497454d7f /net/SSLtelnet/files/patch-ag
parentThe mh port was marked FORBIDDEN for security reasons 2 years and 7 months (diff)
The SSLtelnet port was marked FORBIDDEN for security reasons 13 months ago.
Remove it.
Notes
Notes: svn path=/head/; revision=67930
Diffstat (limited to 'net/SSLtelnet/files/patch-ag')
-rw-r--r--net/SSLtelnet/files/patch-ag46
1 files changed, 0 insertions, 46 deletions
diff --git a/net/SSLtelnet/files/patch-ag b/net/SSLtelnet/files/patch-ag
deleted file mode 100644
index 8afb82138f54..000000000000
--- a/net/SSLtelnet/files/patch-ag
+++ /dev/null
@@ -1,46 +0,0 @@
---- telnetd/telnetd.c.orig Sat Aug 2 14:40:48 1997
-+++ telnetd/telnetd.c Sat Oct 17 22:13:52 1998
-@@ -140,7 +140,7 @@
- highpty = getnpty();
- #endif /* CRAY */
-
-- while ((ch = getopt(argc, argv, "d:a:e:lhnr:I:D:B:sS:a:X:z:")) != EOF) {
-+ while ((ch = getopt(argc, argv, "d:a:e:lhnr:I:D:B:sS:a:X:z:q")) != EOF) {
- switch(ch) {
-
- #ifdef USE_SSL
-@@ -203,6 +203,11 @@
-
- }
- break;
-+
-+ case 'q':
-+ ssl_quiet_flag = 1;
-+ break;
-+
- #endif /* USE_SSL */
-
- #ifdef AUTHENTICATE
-@@ -584,7 +589,7 @@
- #ifdef USE_SSL
- /* might as well output something useful here ... */
- fprintf(stderr, " [-z ssl] [-z secure] [-z debug] [-z verify=int]\n\t");
-- fprintf(stderr, " [-z cert=file] [-z key=file]\n\t");
-+ fprintf(stderr, " [-z cert=file] [-z key=file] [-q]\n\t");
- #endif /* USE_SSL */
- fprintf(stderr, " [port]\n");
- exit(1);
-@@ -656,7 +661,12 @@
- fflush(stderr);
- }
-
-- fatal(net,"[SSL required - connection rejected]");
-+ if (ssl_quiet_flag) {
-+ sleep(1);
-+ exit(1);
-+ }
-+ else
-+ fatal(net,"[SSL required - connection rejected]");
-
- }
- }