From 23bdfb0cdab30fb03ba88b619b87d6dc96c76931 Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Sun, 27 Oct 2002 19:26:11 +0000 Subject: [PATCH] ignore-des_cbc_encrypt-return-value-in-ticket5-decoding-20021027 This would be helpful. afs's des can't fail, and some des_cbc_encrypt's are void, [ don't bother checking the return value of des_cbc_encrypt ] --- src/rxkad/ticket5.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rxkad/ticket5.c b/src/rxkad/ticket5.c index c05735b1fb..f9b52291ea 100644 --- a/src/rxkad/ticket5.c +++ b/src/rxkad/ticket5.c @@ -300,9 +300,7 @@ krb5_des_decrypt(struct ktc_encryptionKey *key, abort(); } - ret = des_cbc_encrypt(in, out, insz, s, &ivec, 0); - if (ret) - return ret; + des_cbc_encrypt(in, out, insz, s, &ivec, 0); memcpy(cksum, (char *)out + CONFOUNDERSZ, cksumsz); memset((char *)out + CONFOUNDERSZ, 0, cksumsz);