summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-02-01 19:23:54 +0000
committerderaadt <deraadt@openbsd.org>2004-02-01 19:23:54 +0000
commitbb09a9f81962f102621d361cf1b6e27dd88261dd (patch)
tree6881beb258d0500f1a6f7350dfc9a9e2dbcc5d4a
parentUse "pushfl; popfl" sequence before each xcrypt-* instruction. According (diff)
downloadwireguard-openbsd-bb09a9f81962f102621d361cf1b6e27dd88261dd.tar.xz
wireguard-openbsd-bb09a9f81962f102621d361cf1b6e27dd88261dd.zip
set i386_has_xcrypt at the right place, which exposes itself as
sysctl machdep.xcrypt Do not enabled yet..
-rw-r--r--sys/arch/i386/i386/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 2e6837f7741..aa916ace64c 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.271 2004/02/01 19:22:30 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.272 2004/02/01 19:23:54 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -1237,6 +1237,9 @@ viac3_crypto_setup(void)
crypto_register(vc3_sc->sc_cid, algs, viac3_crypto_newsession,
viac3_crypto_freesession, viac3_crypto_process);
+#ifdef notdef
+ i386_has_xcrypt = 1;
+#endif
}
int