summaryrefslogtreecommitdiff
path: root/blowfish-bcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'blowfish-bcrypt.c')
-rw-r--r--blowfish-bcrypt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/blowfish-bcrypt.c b/blowfish-bcrypt.c
index 64858880..800d1468 100644
--- a/blowfish-bcrypt.c
+++ b/blowfish-bcrypt.c
@@ -149,6 +149,9 @@ static uint32_t magic_w[6] = {
0x64657253, 0x63727944, 0x6F756274
};
+/* conflicts with OpenBSD's swap32 macro */
+#undef swap32
+
static void swap32(uint32_t *x, int count)
{
#if !WORDS_BIGENDIAN