aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/keyed_cksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/keyed_cksum.c')
-rw-r--r--src/lib/crypto/keyed_cksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/keyed_cksum.c b/src/lib/crypto/keyed_cksum.c
index 7056f8f..4d50c2c 100644
--- a/src/lib/crypto/keyed_cksum.c
+++ b/src/lib/crypto/keyed_cksum.c
@@ -45,7 +45,7 @@ krb5_c_is_keyed_cksum(krb5_cksumtype ctype)
/* ick, but it's better than coredumping, which is what the
old code would have done */
- return -1U;
+ return 0; /* error case */
}
krb5_boolean KRB5_CALLCONV