From 38fbee892c374a918c82fc635ef106bfe05c0f62 Mon Sep 17 00:00:00 2001 From: jsg <> Date: Thu, 16 Dec 2010 16:56:08 +0000 Subject: move CRYPTO_VIAC3_MAX out of cryptodev.h and into the only file it will be used from. requested by/ok mikeb@ --- src/lib/libcrypto/engine/hw_cryptodev.c | 2 ++ src/lib/libssl/src/crypto/engine/hw_cryptodev.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/lib') diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index d6d78da9b2..0e80ca051a 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/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; diff --git a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c index d6d78da9b2..0e80ca051a 100644 --- a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c +++ b/src/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; -- cgit v1.2.3-55-g6feb