aboutsummaryrefslogtreecommitdiff
path: root/lib/krb5/crypto-null.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-06-26 22:56:52 +0000
committerCy Schubert <cy@FreeBSD.org>2023-06-26 22:56:52 +0000
commitb6a943f7197af1a5eb6bb028b9b808ec5016e30c (patch)
treecfbb91e940dd89d0e1d46095f43c228d7d079fa0 /lib/krb5/crypto-null.c
parent6f4e10db3298f6d65e1e646fe52aaafc3682b788 (diff)
Heimdal 7.8.0 does not support OpenSSL 3.0. 7.9.0 will but it hasn't been released yet. We are importing f62e2f278 for its OpenSSL 3.0 support.
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
};