extra braces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8849 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1380,9 +1380,11 @@ do_checksum (krb5_context context,
|
|||||||
keyed_checksum = (ct->flags & F_KEYED) != 0;
|
keyed_checksum = (ct->flags & F_KEYED) != 0;
|
||||||
if(keyed_checksum && crypto == NULL)
|
if(keyed_checksum && crypto == NULL)
|
||||||
return KRB5_PROG_SUMTYPE_NOSUPP; /* XXX */
|
return KRB5_PROG_SUMTYPE_NOSUPP; /* XXX */
|
||||||
if(keyed_checksum)
|
if(keyed_checksum) {
|
||||||
ret = get_checksum_key(context, crypto, usage, ct, &dkey);
|
ret = get_checksum_key(context, crypto, usage, ct, &dkey);
|
||||||
else
|
if (ret)
|
||||||
|
return ret;
|
||||||
|
} else
|
||||||
dkey = NULL;
|
dkey = NULL;
|
||||||
result->cksumtype = ct->type;
|
result->cksumtype = ct->type;
|
||||||
krb5_data_alloc(&result->checksum, ct->checksumsize);
|
krb5_data_alloc(&result->checksum, ct->checksumsize);
|
||||||
|
Reference in New Issue
Block a user