From: Sam Hartman Date: Mon, 18 May 2009 19:08:48 +0000 (+0000) Subject: Copy the sequence key rather than the subkey for lucid contexts in RFC X-Git-Tag: krb5-1.8-alpha1~472 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cbb34c759c2d4c189fd4e825dd2cadfe38f4ad2d;p=krb5.git Copy the sequence key rather than the subkey for lucid contexts in RFC 1964 mode, so that we map to raw des enctypes rather than say des-cbc-crc. ticket: 6488 target_version: 1.7 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22354 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index ff8fe6e3f..cefac261e 100644 --- a/src/lib/gssapi/krb5/lucid_context.c +++ b/src/lib/gssapi/krb5/lucid_context.c @@ -213,7 +213,7 @@ make_external_lucid_ctx_v1( lctx->rfc1964_kd.sign_alg = gctx->signalg; lctx->rfc1964_kd.seal_alg = gctx->sealalg; /* Copy key */ - if ((retval = copy_keyblock_to_lucid_key(gctx->subkey, + if ((retval = copy_keyblock_to_lucid_key(gctx->seq, &lctx->rfc1964_kd.ctx_key))) goto error_out; }