summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-10-06 16:50:39 +0000
committerTheodore Tso <tytso@mit.edu>1994-10-06 16:50:39 +0000
commit41c2b9c175cc9b3f149ed0adb0bfc50ecb465cd1 (patch)
tree16b4301ef29d2ffff693e0f230a0fa2016bf053b /src
parenta6d6ef0be505d3edce846e65d96edbdb5f32e2c7 (diff)
downloadkrb5-41c2b9c175cc9b3f149ed0adb0bfc50ecb465cd1.tar.gz
krb5-41c2b9c175cc9b3f149ed0adb0bfc50ecb465cd1.tar.xz
krb5-41c2b9c175cc9b3f149ed0adb0bfc50ecb465cd1.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/des/ChangeLog7
-rw-r--r--src/lib/crypto/des/verify.c6
2 files changed, 7 insertions, 6 deletions
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]) {