summaryrefslogtreecommitdiff
path: root/lib/libcrypt/crypt.c
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>1998-10-20 02:02:30 +0000
committermatt <matt@NetBSD.org>1998-10-20 02:02:30 +0000
commit59695352cedbf7bc8b59bca052600c3badab163f (patch)
tree2f86d37727fd81697e4b3cac23e5b60e9465378d /lib/libcrypt/crypt.c
parentf8bd2123f367934e74d516b82f819ca1432baa83 (diff)
vax -> __vax__
Diffstat (limited to 'lib/libcrypt/crypt.c')
-rw-r--r--lib/libcrypt/crypt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c
index 88d02a39e22..64a0d14b058 100644
--- a/lib/libcrypt/crypt.c
+++ b/lib/libcrypt/crypt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: crypt.c,v 1.12 1998/06/01 20:25:24 kleink Exp $ */
+/* $NetBSD: crypt.c,v 1.13 1998/10/20 02:02:30 matt Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)crypt.c 8.1.1.1 (Berkeley) 8/18/93";
#else
-__RCSID("$NetBSD: crypt.c,v 1.12 1998/06/01 20:25:24 kleink Exp $");
+__RCSID("$NetBSD: crypt.c,v 1.13 1998/10/20 02:02:30 matt Exp $");
#endif
#endif /* not lint */
@@ -73,7 +73,7 @@ __RCSID("$NetBSD: crypt.c,v 1.12 1998/06/01 20:25:24 kleink Exp $");
* long integers at arbitrary (e.g. odd) memory locations.
* (Either that or never pass unaligned addresses to des_cipher!)
*/
-#if !defined(vax)
+#if !defined(__vax__) && !defined(__i386__)
#define MUST_ALIGN
#endif
@@ -634,7 +634,7 @@ des_cipher(in, out, salt, num_iter)
L0 = salt;
TO_SIX_BIT(salt, L0); /* convert to 4*(6+2) format */
-#if defined(vax) || defined(pdp11)
+#if defined(__vax__) || defined(pdp11)
salt = ~salt; /* "x &~ y" is faster than "x & y". */
#define SALT (~salt)
#else