X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=blobdiff_plain;f=wrap_iov.c;h=f9681faec7085001f87ad4b263d71287b6a3361b;hp=cb96ef174bbf39399eaba3695afe84d324e2a4e9;hb=d4fe7ce93304facaf069792c347b01b25ab765ae;hpb=e01007b518ad7622d72c2ecc20f45a6183495707 diff --git a/wrap_iov.c b/wrap_iov.c index cb96ef1..f9681fa 100644 --- a/wrap_iov.c +++ b/wrap_iov.c @@ -179,7 +179,7 @@ gssEapWrapOrGetMIC(OM_uint32 *minor, store_uint16_be(ec, outbuf + 4); /* RRC */ store_uint16_be(0, outbuf + 6); - store_64_be(ctx->sendSeq, outbuf + 8); + store_uint64_be(ctx->sendSeq, outbuf + 8); /* * EC | copy of header to be encrypted, located in @@ -261,7 +261,7 @@ gssEapWrapOrGetMIC(OM_uint32 *minor, store_uint16_be(0xFFFF, outbuf + 4); store_uint16_be(0xFFFF, outbuf + 6); } - store_64_be(ctx->sendSeq, outbuf + 8); + store_uint64_be(ctx->sendSeq, outbuf + 8); code = gssEapSign(krbContext, 0, /* 0 == pick from crypto */ rrc, &ctx->rfc3961Key, keyUsage,