aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-25 18:24:04 +0000
committerlloyd <[email protected]>2008-04-25 18:24:04 +0000
commitacfdd1ccf164a413a3e6d8fe70d4f60dfe76fe7e (patch)
tree631e6a91546e1dbf496e84dcfa9e94a8136bb7c8 /src/engine.cpp
parentf694f5dda2c7a22b274ac87ee183f6a8b6c4f273 (diff)
The add_algorithm functions also need to be tagged with BOTAN_DLL in
the source file (this seems to be the case for all global functions that we want to export from the library...)
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index ceda7e5aa..071ab2833 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -223,7 +223,7 @@ const BlockCipherModePaddingMethod* retrieve_bc_pad(const std::string& name)
/*************************************************
* Add a new block cipher *
*************************************************/
-void add_algorithm(BlockCipher* algo)
+BOTAN_DLL void add_algorithm(BlockCipher* algo)
{
Library_State::Engine_Iterator i(global_state());
@@ -243,7 +243,7 @@ void add_algorithm(BlockCipher* algo)
/*************************************************
* Add a new stream cipher *
*************************************************/
-void add_algorithm(StreamCipher* algo)
+BOTAN_DLL void add_algorithm(StreamCipher* algo)
{
Library_State::Engine_Iterator i(global_state());
@@ -263,7 +263,7 @@ void add_algorithm(StreamCipher* algo)
/*************************************************
* Add a new hash function *
*************************************************/
-void add_algorithm(HashFunction* algo)
+BOTAN_DLL void add_algorithm(HashFunction* algo)
{
Library_State::Engine_Iterator i(global_state());
@@ -283,7 +283,7 @@ void add_algorithm(HashFunction* algo)
/*************************************************
* Add a new authentication code *
*************************************************/
-void add_algorithm(MessageAuthenticationCode* algo)
+BOTAN_DLL void add_algorithm(MessageAuthenticationCode* algo)
{
Library_State::Engine_Iterator i(global_state());
@@ -303,7 +303,7 @@ void add_algorithm(MessageAuthenticationCode* algo)
/*************************************************
* Add a padding method to the lookup table *
*************************************************/
-void add_algorithm(BlockCipherModePaddingMethod* algo)
+BOTAN_DLL void add_algorithm(BlockCipherModePaddingMethod* algo)
{
Library_State::Engine_Iterator i(global_state());