if (md5cksum.data) kfree(md5cksum.data); 
kfree(md5cksum.data); 
gss_get_mic_kerberos(struct gss_ctx *gss_ctx, struct xdr_buf *text,		struct xdr_netobj *token){	struct krb5_ctx		*ctx = gss_ctx->internal_ctx_id;	s32			checksum_type;	struct xdr_netobj	md5cksum = {.len = 0, .data = NULL};	unsigned char		*ptr, *krb5_hdr, *msg_start;	s32			now;	dprintk("RPC:     gss_krb5_seal\n");	now = get_seconds();	switch (ctx->signalg) {		case SGN_ALG_DES_MAC_MD5:			checksum_type = CKSUMTYPE_RSA_MD5;			break;		default:			dprintk("RPC:      gss_krb5_seal: ctx->signalg %d not"				" supported\n", ctx->signalg);			goto out_err;	}	if (ctx->sealalg != SEAL_ALG_NONE && ctx->sealalg != SEAL_ALG_DES) {		dprintk("RPC:      gss_krb5_seal: ctx->sealalg %d not supported\n",			ctx->sealalg);		goto out_err;	}	token->len = g_token_size(&ctx->mech_used, 22);	ptr = token->data;	g_make_token_header(&ctx->mech_used, 22, &ptr);	*ptr++ = (unsigned char) ((KG_TOK_MIC_MSG>>8)&0xff);	*ptr++ = (unsigned char) (KG_TOK_MIC_MSG&0xff);	/* ptr now at byte 2 of header described in rfc 1964, section 1.2.1: */	krb5_hdr = ptr - 2;	msg_start = krb5_hdr + 24;	*(u16 *)(krb5_hdr + 2) = htons(ctx->signalg);	memset(krb5_hdr + 4, 0xff, 4);	if (make_checksum(checksum_type, krb5_hdr, 8, text, 0, &md5cksum))			goto out_err;	switch (ctx->signalg) {	case SGN_ALG_DES_MAC_MD5:		if (krb5_encrypt(ctx->seq, NULL, md5cksum.data,				  md5cksum.data, md5cksum.len))			goto out_err;		memcpy(krb5_hdr + 16,		       md5cksum.data + md5cksum.len - KRB5_CKSUM_LENGTH,		       KRB5_CKSUM_LENGTH);		dprintk("RPC:      make_seal_token: cksum data: \n");		print_hexl((u32 *) (krb5_hdr + 16), KRB5_CKSUM_LENGTH, 0);		break;	default:		BUG();	}	kfree(md5cksum.data);	if ((krb5_make_seq_num(ctx->seq, ctx->initiate ? 0 : 0xff,			       ctx->seq_send, krb5_hdr + 16, krb5_hdr + 8)))		goto out_err;	ctx->seq_send++;	return ((ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE);out_err:	if (md5cksum.data) kfree(md5cksum.data);	return GSS_S_FAILURE;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a51482bde22f99c63fbbb57d5d46cc666384e379/gss_krb5_seal.c/clean/net/sunrpc/auth_gss/gss_krb5_seal.c