From: Theodore Tso Date: Thu, 6 Oct 1994 16:50:39 +0000 (+0000) Subject: Take out check that assures that long is 4 bytes. The DES X-Git-Tag: krb5-1.0-beta5~1165 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41c2b9c175cc9b3f149ed0adb0bfc50ecb465cd1;p=krb5.git Take out check that assures that long is 4 bytes. The DES implementation shouldn't be depending on this, and if it is, then that's what the verify program should be discovering, yes? git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4462 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index c49449b0d..eb96c6fc8 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,3 +1,10 @@ +Thu Oct 6 12:49:29 1994 Theodore Y. Ts'o (tytso@dcl) + + * verify.c (main): Take out check that assures that long is 4 + bytes. The DES implementation shouldn't be depending on + this, and if it is, then that's what the verify program + should be discovering, yes? + Thu Jun 23 01:09:33 1994 Tom Yu (tlyu at dragons-lair) * cs_entry.c: oops typo in that last one diff --git a/src/lib/crypto/des/verify.c b/src/lib/crypto/des/verify.c index 270647c5b..73f071e8d 100644 --- a/src/lib/crypto/des/verify.c +++ b/src/lib/crypto/des/verify.c @@ -115,12 +115,6 @@ main(argc,argv) progname=argv[0]; /* salt away invoking program */ - /* Assume a long is four bytes */ - if (sizeof(long) != 4) { - printf("\nERROR, size of long is %d",sizeof(long)); - exit(-1); - } - while (--argc > 0 && (*++argv)[0] == '-') for (i=1; argv[0][i] != '\0'; i++) { switch (argv[0][i]) {