mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
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 ]
This commit is contained in:
parent
7d8d4f2865
commit
23bdfb0cda
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user