summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2010-12-16 16:56:08 +0000
committerjsg <jsg@openbsd.org>2010-12-16 16:56:08 +0000
commit6fb958a65ea95c65865464c10d0794ea521d7bce (patch)
tree21c9c276aec6ba0d5f251f485b53ca64cd844db2 /lib/libssl/src
parentno need to poke the vmspace, uvm_map_hint does what we want. ok oga (diff)
downloadwireguard-openbsd-6fb958a65ea95c65865464c10d0794ea521d7bce.tar.xz
wireguard-openbsd-6fb958a65ea95c65865464c10d0794ea521d7bce.zip
move CRYPTO_VIAC3_MAX out of cryptodev.h and into the only
file it will be used from. requested by/ok mikeb@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/engine/hw_cryptodev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libssl/src/crypto/engine/hw_cryptodev.c b/lib/libssl/src/crypto/engine/hw_cryptodev.c
index d6d78da9b26..0e80ca051a5 100644
--- a/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/lib/libssl/src/crypto/engine/hw_cryptodev.c
@@ -74,6 +74,8 @@ ENGINE_load_cryptodev(void)
static int check_viac3aes(void);
#endif
+#define CRYPTO_VIAC3_MAX 3
+
struct dev_crypto_state {
struct session_op d_sess;
int d_fd;