summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ctm')
-rw-r--r--usr.sbin/ctm/ctm/ctm.h1
-rw-r--r--usr.sbin/ctm/ctm/ctm_input.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/ctm/ctm/ctm.h b/usr.sbin/ctm/ctm/ctm.h
index abee2d4..b733539 100644
--- a/usr.sbin/ctm/ctm/ctm.h
+++ b/usr.sbin/ctm/ctm/ctm.h
@@ -26,7 +26,6 @@
#include <sys/time.h>
#define VERSION "2.0"
-#define MAXSIZE (1024*1024*40)
#define SUBSUFF ".ctm"
#define TMPSUFF ".ctmtmp"
diff --git a/usr.sbin/ctm/ctm/ctm_input.c b/usr.sbin/ctm/ctm/ctm_input.c
index 0a3eecb..32166d3 100644
--- a/usr.sbin/ctm/ctm/ctm_input.c
+++ b/usr.sbin/ctm/ctm/ctm_input.c
@@ -77,10 +77,6 @@ Fbytecnt(FILE *fd, MD5_CTX *ctx, u_char term)
u_chars *= 10;
u_chars += (*q - '0');
}
- if(u_chars > MAXSIZE) {
- Fatal("Bytecount too large.");
- return -1;
- }
return u_chars;
}
OpenPOWER on IntegriCloud