From 9d35f888b41e65a7e7cb14f695f09fa626a25fa2 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 1 May 1991 11:20:24 +0000 Subject: [PATCH] use krb5_checksum_size macro git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2080 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/kdc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index 58bdc7c58..d6aac7aa6 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -237,7 +237,7 @@ krb5_tkt_authent **ret_authdat; /* check application checksum vs. tgs request */ if (!(our_cksum.contents = (krb5_octet *) - malloc(krb5_cksumarray[our_cksum.checksum_type]->checksum_length))) { + malloc(krb5_checksum_size(our_cksum.checksum_type)))) { krb5_free_ap_req(apreq); return ENOMEM; /* XXX cktype nosupp */ } -- 2.26.2