aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-13 21:53:37 +0200
committerSimon Warta <[email protected]>2015-08-14 19:01:07 +0200
commitb4c59752c1ffd6e7217573e9a290276d92bd6235 (patch)
tree4e5f99989cfbc3999d7f84607804f0a82e72804f /src/scripts
parentb9c0077022400abc38d33ca3dfcfe32b9cf503e3 (diff)
Remove 'extern "C"' from src/lib/math/mp
C functions must not throw but Botan::bigint_divop throws (MSVC: warning C4297: 'Botan::bigint_divop' : function assumed not to throw an exception but does) * Move bigint_mul -> Botan::bigint_sqr * Move bigint_sqr -> Botan::bigint_sqr * Variable in unnamed namespace supersedes "static" keyword
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/comba.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scripts/comba.py b/src/scripts/comba.py
index fe588f7bc..dcac14657 100755
--- a/src/scripts/comba.py
+++ b/src/scripts/comba.py
@@ -87,8 +87,6 @@ def main(args = None):
#include <botan/internal/mp_asmi.h>
namespace Botan {
-
-extern "C" {
"""
for n in [4,6,8,9,16]:
@@ -110,7 +108,7 @@ extern "C" {
print " }\n"
- print "}\n\n}"
+ print "}"
if __name__ == '__main__':
sys.exit(main())