diff --git a/usr.sbin/ctm/ctm/ctm.h b/usr.sbin/ctm/ctm/ctm.h index abee2d4acf2e..b733539bbd97 100644 --- a/usr.sbin/ctm/ctm/ctm.h +++ b/usr.sbin/ctm/ctm/ctm.h @@ -26,7 +26,6 @@ #include #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 0a3eecb009a3..32166d311f12 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; }