summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/crypt/blowfish.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/crypt/blowfish.c b/lib/libc/crypt/blowfish.c
index 96b4c06f000..261ace5c210 100644
--- a/lib/libc/crypt/blowfish.c
+++ b/lib/libc/crypt/blowfish.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: blowfish.c,v 1.10 1998/08/21 23:31:28 deraadt Exp $ */
+/* $OpenBSD: blowfish.c,v 1.11 1998/08/22 07:12:58 deraadt Exp $ */
/*
* Blowfish block cipher for OpenBSD
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -587,6 +587,9 @@ blf_dec(c, data, blocks)
/* Repeating operations for little endian machines */
+/*
+ * XXX This code is NOT correct for unaligned-access faulting machines.
+ */
#define BLF_BLK_ENC l = ntohl (*(u_int32_t *)data); \
r = ntohl (*(u_int32_t *)(data+4)); \
Blowfish_encipher(c, &l, &r); \