| Index: mozilla/security/nss/lib/freebl/sha_fast.h
|
| ===================================================================
|
| --- mozilla/security/nss/lib/freebl/sha_fast.h (revision 180595)
|
| +++ mozilla/security/nss/lib/freebl/sha_fast.h (working copy)
|
| @@ -147,12 +147,12 @@
|
| SHA_STORE(3); \
|
| SHA_STORE(4); \
|
| } else { \
|
| - ctx->u.w[0] = SHA_HTONL(ctx->H[0]); \
|
| - ctx->u.w[1] = SHA_HTONL(ctx->H[1]); \
|
| - ctx->u.w[2] = SHA_HTONL(ctx->H[2]); \
|
| - ctx->u.w[3] = SHA_HTONL(ctx->H[3]); \
|
| - ctx->u.w[4] = SHA_HTONL(ctx->H[4]); \
|
| - memcpy(hashout, ctx->u.w, SHA1_LENGTH); \
|
| + tmpbuf[0] = SHA_HTONL(ctx->H[0]); \
|
| + tmpbuf[1] = SHA_HTONL(ctx->H[1]); \
|
| + tmpbuf[2] = SHA_HTONL(ctx->H[2]); \
|
| + tmpbuf[3] = SHA_HTONL(ctx->H[3]); \
|
| + tmpbuf[4] = SHA_HTONL(ctx->H[4]); \
|
| + memcpy(hashout, tmpbuf, SHA1_LENGTH); \
|
| }
|
|
|
| #else
|
|
|