aboutsummaryrefslogtreecommitdiffstats
path: root/include/numthry.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-25 18:21:43 +0000
committerlloyd <[email protected]>2008-04-25 18:21:43 +0000
commitf694f5dda2c7a22b274ac87ee183f6a8b6c4f273 (patch)
tree03c57518eb8cdae4cb573373d31106df81c4d284 /include/numthry.h
parent3f6bc935bf43f1aec9c8d7a1334600d88ed31486 (diff)
The PRIMES[] array (an array of small prime numbers) must be declared
with BOTAN_DLL, since it is a public value (used by the factor example, perhaps others)
Diffstat (limited to 'include/numthry.h')
-rw-r--r--include/numthry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/numthry.h b/include/numthry.h
index 44d5d86d5..44d56601a 100644
--- a/include/numthry.h
+++ b/include/numthry.h
@@ -66,7 +66,7 @@ BigInt BOTAN_DLL random_safe_prime(u32bit);
const u32bit PRIME_TABLE_SIZE = 6541;
const u32bit PRIME_PRODUCTS_TABLE_SIZE = 256;
-extern const u16bit PRIMES[];
+extern const u16bit BOTAN_DLL PRIMES[];
extern const u64bit PRIME_PRODUCTS[];
/*************************************************