Take out check that assures that long is 4 bytes. The DES
authorTheodore Tso <tytso@mit.edu>
Thu, 6 Oct 1994 16:50:39 +0000 (16:50 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 6 Oct 1994 16:50:39 +0000 (16:50 +0000)
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

src/lib/crypto/des/ChangeLog
src/lib/crypto/des/verify.c

index c49449b0d8f4b7471538b983b773e9db58c8ca40..eb96c6fc8a4f1311fbd9b690e0681270b7c29abd 100644 (file)
@@ -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
index 270647c5bfc36dbbebd1c9622c0f44a0ed17615f..73f071e8d07bf8c188174e45e7cd662132b430a3 100644 (file)
@@ -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]) {