aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/builtin/hash_provider/hash_md4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/builtin/hash_provider/hash_md4.c')
-rw-r--r--src/lib/crypto/builtin/hash_provider/hash_md4.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/crypto/builtin/hash_provider/hash_md4.c b/src/lib/crypto/builtin/hash_provider/hash_md4.c
index 916da0f..3a7d0d4 100644
--- a/src/lib/crypto/builtin/hash_provider/hash_md4.c
+++ b/src/lib/crypto/builtin/hash_provider/hash_md4.c
@@ -1,3 +1,4 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -30,17 +31,17 @@
static krb5_error_code
k5_md4_hash(unsigned int icount, const krb5_data *input,
- krb5_data *output)
+ krb5_data *output)
{
krb5_MD4_CTX ctx;
unsigned int i;
if (output->length != RSA_MD4_CKSUM_LENGTH)
- return(KRB5_CRYPTO_INTERNAL);
+ return(KRB5_CRYPTO_INTERNAL);
krb5int_MD4Init(&ctx);
for (i=0; i<icount; i++)
- krb5int_MD4Update(&ctx, (unsigned char *) input[i].data, input[i].length);
+ krb5int_MD4Update(&ctx, (unsigned char *) input[i].data, input[i].length);
krb5int_MD4Final(&ctx);
memcpy(output->data, ctx.digest, RSA_MD4_CKSUM_LENGTH);