aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/crypto/ripemd160/rmd160.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/ripemd160/rmd160.c b/sys/crypto/ripemd160/rmd160.c
index e6ae0406e40b..dd38b1ae7f4d 100644
--- a/sys/crypto/ripemd160/rmd160.c
+++ b/sys/crypto/ripemd160/rmd160.c
@@ -171,7 +171,7 @@ RMD160Transform(u_int32_t state[5], const u_char block[64])
int i;
for (i = 0; i < 16; i++)
- x[i] = swap32(*(u_int32_t*)(block+i*4));
+ x[i] = bswap32(*(const u_int32_t*)(block+i*4));
#endif
a = state[0];