aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/mp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-11 09:42:48 -0500
committerJack Lloyd <[email protected]>2015-12-11 09:42:48 -0500
commit272e72d2dcb3e4b3e717946383dc67dba860c473 (patch)
tree1ea43bffd5df06218c7bc7774a075d41794ed1ab /src/lib/math/mp
parent6b9a3a534071ef84c121c406559f8fc7ad546104 (diff)
Missing adds
Diffstat (limited to 'src/lib/math/mp')
-rw-r--r--src/lib/math/mp/mp_misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/mp/mp_misc.cpp b/src/lib/math/mp/mp_misc.cpp
index adf4a0a6b..768543a64 100644
--- a/src/lib/math/mp/mp_misc.cpp
+++ b/src/lib/math/mp/mp_misc.cpp
@@ -7,7 +7,7 @@
#include <botan/internal/mp_core.h>
#include <botan/internal/mp_madd.h>
-#include <stdexcept>
+#include <botan/exceptn.h>
namespace Botan {
@@ -43,7 +43,7 @@ s32bit bigint_cmp(const word x[], size_t x_size,
word bigint_divop(word n1, word n0, word d)
{
if(d == 0)
- throw Exception("bigint_divop divide by zero");
+ throw Invalid_Argument("bigint_divop divide by zero");
word high = n1 % d, quotient = 0;