summaryrefslogtreecommitdiffstats
path: root/sys/crypto/cryptodev.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-04-03 05:12:41 +0000
committerderaadt <deraadt@openbsd.org>2002-04-03 05:12:41 +0000
commit75877a4d2f63d800f24580cc9fac8e9be62d1469 (patch)
treee147f327fd9d7d382bc2beb2a28535f3c0f7e166 /sys/crypto/cryptodev.c
parentAdd 4000 200. (diff)
downloadwireguard-openbsd-75877a4d2f63d800f24580cc9fac8e9be62d1469.tar.xz
wireguard-openbsd-75877a4d2f63d800f24580cc9fac8e9be62d1469.zip
disable userland crypto for 3.1
Diffstat (limited to 'sys/crypto/cryptodev.c')
-rw-r--r--sys/crypto/cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c
index a933c3d0580..1bcc1e7f519 100644
--- a/sys/crypto/cryptodev.c
+++ b/sys/crypto/cryptodev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.c,v 1.34 2002/03/14 01:26:51 millert Exp $ */
+/* $OpenBSD: cryptodev.c,v 1.35 2002/04/03 05:12:41 deraadt Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -116,7 +116,7 @@ int cryptodev_dokey(struct crypt_kop *kop, struct crparam kvp[]);
int cryptodev_cb(void *);
-int usercrypto = 1; /* userland may do crypto requests */
+int usercrypto = 0; /* userland may do crypto requests */
int cryptodevallowsoft = 0; /* only use hardware crypto */
/* ARGSUSED */