aboutsummaryrefslogtreecommitdiff
path: root/lib/krb5/crypto-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5/crypto-null.c')
-rw-r--r--lib/krb5/crypto-null.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/krb5/crypto-null.c b/lib/krb5/crypto-null.c
index 96b77994708c..a62a57ffccb0 100644
--- a/lib/krb5/crypto-null.c
+++ b/lib/krb5/crypto-null.c
@@ -53,10 +53,11 @@ static struct _krb5_key_type keytype_null = {
static krb5_error_code
NONE_checksum(krb5_context context,
+ krb5_crypto crypto,
struct _krb5_key_data *key,
- const void *data,
- size_t len,
unsigned usage,
+ const struct krb5_crypto_iov *iov,
+ int niov,
Checksum *C)
{
return 0;
@@ -94,8 +95,9 @@ struct _krb5_encryption_type _krb5_enctype_null = {
&keytype_null,
&_krb5_checksum_none,
NULL,
- F_DISABLED,
+ F_DISABLED | F_OLD,
NULL_encrypt,
+ NULL,
0,
NULL
};