GSS_C_DCE_STYLE vs kg_unseal_stream_iov

Luke Howard lukeh at padl.com
Mon Oct 10 15:29:51 EDT 2011


> 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



More information about the krbdev mailing list