summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-06-30 17:14:37 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-06-30 17:14:37 +0000
commit04a10dc7543e5c850a1cf5a093f2a1ffa5fa1c90 (patch)
tree34ac32fd8c43f8ef685ef9ec7decb3017a9e4639 /sys
parentd30ecfcbe608ccf2e5d66580d3a5d42644575cc6 (diff)
Remove #ifdef CRYPTO. config will do this for us.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/aesni.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/aesni.c b/sys/arch/amd64/amd64/aesni.c
index 3eb8aa1fedd..bf774ba41bb 100644
--- a/sys/arch/amd64/amd64/aesni.c
+++ b/sys/arch/amd64/amd64/aesni.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aesni.c,v 1.3 2010/06/30 17:11:05 thib Exp $ */
+/* $OpenBSD: aesni.c,v 1.4 2010/06/30 17:14:36 thib Exp $ */
/*-
* Copyright (c) 2003 Jason Wright
* Copyright (c) 2003, 2004 Theo de Raadt
@@ -26,18 +26,15 @@
#include <sys/malloc.h>
#include <sys/mbuf.h>
-#ifdef CRYPTO
#include <crypto/cryptodev.h>
#include <crypto/rijndael.h>
#include <crypto/xform.h>
#include <crypto/cryptosoft.h>
-#endif
#include <dev/rndvar.h>
#include <machine/fpu.h>
-#ifdef CRYPTO
/* defines from crypto/xform.c */
#define AESCTR_NONCESIZE 4
@@ -488,5 +485,3 @@ out:
crypto_done(crp);
return (err);
}
-
-#endif /* CRYPTO */