Fixed segfault in mpi_shift_r()
Fixed memory leak in test_suite_mpi
Amended ChangeLog
diff --git a/library/bignum.c b/library/bignum.c
index 23feb6a..f2608c1 100644
--- a/library/bignum.c
+++ b/library/bignum.c
@@ -611,6 +611,9 @@
     v0 = count /  biL;
     v1 = count & (biL - 1);
 
+    if( v0 > X->n || ( v0 == X->n && v1 > 0 ) )
+        return mpi_lset( X, 0 );
+
     /*
      * shift by count / limb_size
      */