diff options
author | lloyd <[email protected]> | 2009-12-16 02:22:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-16 02:22:58 +0000 |
commit | 12afeca214c4414a0ced0bc4654d0fc5908dc77b (patch) | |
tree | d0706f470d406d68b4ec1f559d2e0f6426174c28 /src/asn1 | |
parent | 87cbaef441c6baba2699a8ea53ac2562c46c772d (diff) |
Make many more headers internal-only.
Fixes for the amalgamation generator for internal headers.
Remove BOTAN_DLL exporting macros from all internal-only headers;
the classes/functions there don't need to be exported, and
avoiding the PIC/GOT indirection can be a big win.
Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc
For GCC, use -fvisibility=hidden and set BOTAN_DLL to the
visibility __attribute__ to export those classes/functions.
Diffstat (limited to 'src/asn1')
-rw-r--r-- | src/asn1/asn1_alt.cpp | 4 | ||||
-rw-r--r-- | src/asn1/asn1_dn.cpp | 2 | ||||
-rw-r--r-- | src/asn1/asn1_oid.cpp | 2 | ||||
-rw-r--r-- | src/asn1/ber_dec.cpp | 2 | ||||
-rw-r--r-- | src/asn1/der_enc.cpp | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/asn1/asn1_alt.cpp b/src/asn1/asn1_alt.cpp index 41974eef6..6e9adf47b 100644 --- a/src/asn1/asn1_alt.cpp +++ b/src/asn1/asn1_alt.cpp @@ -10,10 +10,10 @@ #include <botan/der_enc.h> #include <botan/ber_dec.h> #include <botan/oids.h> -#include <botan/stl_util.h> +#include <botan/internal/stl_util.h> #include <botan/charset.h> #include <botan/parsing.h> -#include <botan/loadstor.h> +#include <botan/internal/loadstor.h> namespace Botan { diff --git a/src/asn1/asn1_dn.cpp b/src/asn1/asn1_dn.cpp index 3005e3d5e..6b08fa1ff 100644 --- a/src/asn1/asn1_dn.cpp +++ b/src/asn1/asn1_dn.cpp @@ -9,7 +9,7 @@ #include <botan/der_enc.h> #include <botan/ber_dec.h> #include <botan/parsing.h> -#include <botan/stl_util.h> +#include <botan/internal/stl_util.h> #include <botan/oids.h> namespace Botan { diff --git a/src/asn1/asn1_oid.cpp b/src/asn1/asn1_oid.cpp index 531ceb9b2..7db171fc8 100644 --- a/src/asn1/asn1_oid.cpp +++ b/src/asn1/asn1_oid.cpp @@ -8,7 +8,7 @@ #include <botan/asn1_oid.h> #include <botan/der_enc.h> #include <botan/ber_dec.h> -#include <botan/bit_ops.h> +#include <botan/internal/bit_ops.h> #include <botan/parsing.h> namespace Botan { diff --git a/src/asn1/ber_dec.cpp b/src/asn1/ber_dec.cpp index b34bf8ca2..a61bbf00a 100644 --- a/src/asn1/ber_dec.cpp +++ b/src/asn1/ber_dec.cpp @@ -7,7 +7,7 @@ #include <botan/ber_dec.h> #include <botan/bigint.h> -#include <botan/loadstor.h> +#include <botan/internal/loadstor.h> namespace Botan { diff --git a/src/asn1/der_enc.cpp b/src/asn1/der_enc.cpp index bee269431..37ba79802 100644 --- a/src/asn1/der_enc.cpp +++ b/src/asn1/der_enc.cpp @@ -8,8 +8,8 @@ #include <botan/der_enc.h> #include <botan/asn1_int.h> #include <botan/bigint.h> -#include <botan/loadstor.h> -#include <botan/bit_ops.h> +#include <botan/internal/loadstor.h> +#include <botan/internal/bit_ops.h> #include <botan/parsing.h> #include <algorithm> |