diff options
author | jsg <> | 2010-12-16 16:56:08 +0000 |
---|---|---|
committer | jsg <> | 2010-12-16 16:56:08 +0000 |
commit | 38fbee892c374a918c82fc635ef106bfe05c0f62 (patch) | |
tree | 06d4af16ea70a6cc245371833c5f8e4a3d25fdbe | |
parent | b09b76a7c63ad74a19cc5bcf8d9642ce521d9e69 (diff) | |
download | openbsd-38fbee892c374a918c82fc635ef106bfe05c0f62.tar.gz openbsd-38fbee892c374a918c82fc635ef106bfe05c0f62.tar.bz2 openbsd-38fbee892c374a918c82fc635ef106bfe05c0f62.zip |
move CRYPTO_VIAC3_MAX out of cryptodev.h and into the only
file it will be used from.
requested by/ok mikeb@
-rw-r--r-- | src/lib/libcrypto/engine/hw_cryptodev.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/engine/hw_cryptodev.c | 2 |
2 files changed, 4 insertions, 0 deletions
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) | |||
74 | static int check_viac3aes(void); | 74 | static int check_viac3aes(void); |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #define CRYPTO_VIAC3_MAX 3 | ||
78 | |||
77 | struct dev_crypto_state { | 79 | struct dev_crypto_state { |
78 | struct session_op d_sess; | 80 | struct session_op d_sess; |
79 | int d_fd; | 81 | 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) | |||
74 | static int check_viac3aes(void); | 74 | static int check_viac3aes(void); |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #define CRYPTO_VIAC3_MAX 3 | ||
78 | |||
77 | struct dev_crypto_state { | 79 | struct dev_crypto_state { |
78 | struct session_op d_sess; | 80 | struct session_op d_sess; |
79 | int d_fd; | 81 | int d_fd; |