aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-09 14:40:38 +0000
committerlloyd <[email protected]>2008-10-09 14:40:38 +0000
commit643df89a37dd0f8d9c090825166231db4fdaa55c (patch)
tree886bce3a306c24797986f9e578bc4528acbef59e /src/math
parentbd2cfef3f4c0b73a2bbe840cc7a3d882a2c4b5bc (diff)
Add BOTAN_DLL macro to public class definitions that were missing it.
Diffstat (limited to 'src/math')
-rw-r--r--src/math/gfpmath/curve_gfp.h2
-rw-r--r--src/math/gfpmath/freestore.h4
-rw-r--r--src/math/gfpmath/gfp_element.h2
-rw-r--r--src/math/gfpmath/gfp_modulus.h4
-rw-r--r--src/math/gfpmath/point_gfp.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/math/gfpmath/curve_gfp.h b/src/math/gfpmath/curve_gfp.h
index 3981faf16..a0530aa01 100644
--- a/src/math/gfpmath/curve_gfp.h
+++ b/src/math/gfpmath/curve_gfp.h
@@ -21,7 +21,7 @@ namespace Botan {
/**
* This class represents an elliptic curve over GF(p)
*/
-class CurveGFp
+class BOTAN_DLL CurveGFp
{
public:
diff --git a/src/math/gfpmath/freestore.h b/src/math/gfpmath/freestore.h
index 99025f4e3..cafe69aae 100644
--- a/src/math/gfpmath/freestore.h
+++ b/src/math/gfpmath/freestore.h
@@ -31,7 +31,7 @@
namespace Botan {
template<typename T>
-class SharedPtrConverter
+class BOTAN_DLL SharedPtrConverter
{
public:
typedef std::tr1::shared_ptr<T> SharedPtr;
@@ -142,7 +142,7 @@ std::tr1::shared_ptr<T> create_shared_ptr(P1 p1, P2 p2, P3 p3, ...);
* new (or new[]) operator, but only via one of the overloads
* of function template Botan::create_ptr.
*/
-class Freestore
+class BOTAN_DLL Freestore
{
private:
static
diff --git a/src/math/gfpmath/gfp_element.h b/src/math/gfpmath/gfp_element.h
index 3ee891231..39e728cfa 100644
--- a/src/math/gfpmath/gfp_element.h
+++ b/src/math/gfpmath/gfp_element.h
@@ -30,7 +30,7 @@ struct Illegal_Transformation : public Exception
* This class represents one element in GF(p). Enables the convenient,
* transparent use of the montgomery multiplication.
*/
-class GFpElement
+class BOTAN_DLL GFpElement
{
private:
std::tr1::shared_ptr<GFpModulus> mp_mod;
diff --git a/src/math/gfpmath/gfp_modulus.h b/src/math/gfpmath/gfp_modulus.h
index 2bf48b8b6..359f6cae1 100644
--- a/src/math/gfpmath/gfp_modulus.h
+++ b/src/math/gfpmath/gfp_modulus.h
@@ -18,12 +18,12 @@
namespace Botan
{
-class GFpElement;
+class BOTAN_DLL GFpElement;
/**
* This class represents a GFpElement modulus including the modulus related
* values necessary for the montgomery multiplication.
*/
-class GFpModulus
+class BOTAN_DLL GFpModulus
{
friend class GFpElement;
private:
diff --git a/src/math/gfpmath/point_gfp.h b/src/math/gfpmath/point_gfp.h
index 6118f00d5..4ecc3e936 100644
--- a/src/math/gfpmath/point_gfp.h
+++ b/src/math/gfpmath/point_gfp.h
@@ -26,7 +26,7 @@ struct Illegal_Point : public Exception
/**
* This class represents one point on a curve of GF(p).
*/
-class PointGFp
+class BOTAN_DLL PointGFp
{
public:
/**