mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
ldns: Fix unused variable on big-endian
MFC after: 1 week
Fixes: 9ed998a81b ("ldns: Update to 1.9.0")
This commit is contained in:
1 parent
eff5f220c3
commit
dd64155367
1 file changed
+2
@@ -738,7 +738,9 @@ static void ldns_sha512_Transform(ldns_sha512_CTX* context,
|
||||
sha2_word64 a, b, c, d, e, f, g, h, s0, s1;
|
||||
sha2_word64 T1, T2, *W512 = (sha2_word64*)context->buffer;
|
||||
int j;
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
sha2_word64 aligned;
|
||||
#endif /* BYTE_ORDER == LITTLE_ENDIAN */
|
||||
|
||||
/* initialize registers with the prev. intermediate value */
|
||||
a = context->state[0];
|
||||
|
||||
Reference in new issue
Block a user