Commit 31d69926b1a64b72e4cc3654bb913c98c3b44e12

Steffen Jaeckel 2014-01-25T16:28:53

Merge branch 'ktdreyer/invmod-return' into develop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/bn_mp_invmod.c b/bn_mp_invmod.c
index 3d04b6e..0f547d4 100644
--- a/bn_mp_invmod.c
+++ b/bn_mp_invmod.c
@@ -32,9 +32,9 @@ int mp_invmod (mp_int * a, mp_int * b, mp_int * c)
 
 #ifdef BN_MP_INVMOD_SLOW_C
   return mp_invmod_slow(a, b, c);
-#endif
-
+#else
   return MP_VAL;
+#endif
 }
 #endif