Copy the sequence key rather than the subkey for lucid contexts in RFC
authorSam Hartman <hartmans@mit.edu>
Mon, 18 May 2009 19:08:48 +0000 (19:08 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 18 May 2009 19:08:48 +0000 (19:08 +0000)
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

src/lib/gssapi/krb5/lucid_context.c

index ff8fe6e3f52c104aaa964345dc3bede247975f68..cefac261ede7b4606f6d03e31d44e81a97ab5073 100644 (file)
@@ -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;
     }