winbindd_cache: simplify logic in new key length check for UA keys.
authorMichael Adam <obnox@samba.org>
Wed, 23 Apr 2008 12:55:51 +0000 (14:55 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Apr 2008 12:55:51 +0000 (14:55 +0200)
commit65c0fd59203a3d9c4cb685e3a739f29f6f0c4fd6
tree75b12d29f0d61de503cee74c7496644bfe379ccb
parent7a407d5927455c4f9147dd00333dda585fab6559
winbindd_cache: simplify logic in new key length check for UA keys.

This reduces indentation by combining common code paths,
and wraps long lines.

Holger: sorry, I could not resist. I think it is much easier to
understand what is going on when we only have one check and
determine the max allowed key length in advance.

Michael
(This used to be commit e489f3d988feafe35b486b31a9e60c2399e6a6e7)
source3/winbindd/winbindd_cache.c