[17279] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: GSS_C_DCE_STYLE vs kg_unseal_stream_iov

daemon@ATHENA.MIT.EDU (Luke Howard)
Mon Oct 10 15:30:01 2011

Mime-Version: 1.0 (Apple Message framework v1244.3)
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <SNT101-DS2397D97F141965A7CD497EB5FD0@phx.gbl>
Date: Tue, 11 Oct 2011 06:29:51 +1100
Message-Id: <B3BF56E8-02A7-49D5-8AA5-EB4E54D5DEAD@padl.com>
To: Kevin Wasserman <krwasserman@hotmail.com>
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

> k5unsealiov.c, line 750:
> if (toktype != KG_TOK_WRAP_MSG || (ctx->gss_flags & GSS_C_DCE_STYLE)) {
>    code = EINVAL;
>    goto cleanup;
> }
> 
> Is that correct behavior?

Yes, this wasn't at line 750 in my copy, but GSS_C_DCE_STYLE cannot be used with GSS_IOV_BUFFER_TYPE_STREAM. You need to pass explicit buffers.

-- Luke
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post