1 $NetBSD: patch-be,v 1.1 2008/06/07 18:36:07 tonnerre Exp $
3 --- lib/gssapi/krb5/k5unseal.c.orig 2004-04-13 22:00:19.000000000 +0200
4 +++ lib/gssapi/krb5/k5unseal.c
5 @@ -457,8 +457,11 @@ kg_unseal_v1(context, minor_status, ctx,
7 if ((ctx->initiate && direction != 0xff) ||
8 (!ctx->initiate && direction != 0)) {
9 - if (toktype == KG_TOK_SEAL_MSG)
10 + if (toktype == KG_TOK_SEAL_MSG) {
12 + message_buffer->value = NULL;
13 + message_buffer->length = 0;
15 *minor_status = G_BAD_DIRECTION;
16 return(GSS_S_BAD_SIG);