summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/krb/keyed_cksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/krb/keyed_cksum.c')
-rw-r--r--src/lib/crypto/krb/keyed_cksum.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/crypto/krb/keyed_cksum.c b/src/lib/crypto/krb/keyed_cksum.c
index ac49ef6d04..2f8bed6a29 100644
--- a/src/lib/crypto/krb/keyed_cksum.c
+++ b/src/lib/crypto/krb/keyed_cksum.c
@@ -1,3 +1,4 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -34,11 +35,11 @@ krb5_c_is_keyed_cksum(krb5_cksumtype ctype)
const struct krb5_cksumtypes *ctp;
for (i = 0; i < krb5int_cksumtypes_length; i++) {
- ctp = &krb5int_cksumtypes_list[i];
- if (ctp->ctype == ctype) {
- return (ctp->keyhash != NULL ||
- (ctp->flags & KRB5_CKSUMFLAG_DERIVE));
- }
+ ctp = &krb5int_cksumtypes_list[i];
+ if (ctp->ctype == ctype) {
+ return (ctp->keyhash != NULL ||
+ (ctp->flags & KRB5_CKSUMFLAG_DERIVE));
+ }
}
/* Invalid ctype. This is misleading, but better than dumping core. */