Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / crypto / mpi / mpi-div.c
index dee9146..530d627 100644 (file)
@@ -101,8 +101,8 @@ mpi_fdiv_qr( MPI quot, MPI rem, MPI dividend, MPI divisor )
     MPI temp_divisor = NULL;
 
     if( quot == divisor || rem == divisor ) {
-       if (mpi_copy( &temp_divisor, divisor ) < 0);
-       return -ENOMEM;
+       if (mpi_copy( &temp_divisor, divisor ) < 0)
+               return -ENOMEM;
        divisor = temp_divisor;
     }