Merge branch 'ktdreyer/invmod-return' into develop
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