X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Fwrap_iov.c;h=f9681faec7085001f87ad4b263d71287b6a3361b;hb=78149a4e68c9beef418108c0a12a755a4e5deb71;hp=cb96ef174bbf39399eaba3695afe84d324e2a4e9;hpb=85d2136c9afd05a42c8a881683908419af62b7ca;p=cyrus-sasl.git diff --git a/mech_eap/wrap_iov.c b/mech_eap/wrap_iov.c index cb96ef1..f9681fa 100644 --- a/mech_eap/wrap_iov.c +++ b/mech_eap/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,