[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[samba.git] / source / tests / crypttest.c
index 52d81550920ff5dcd7ae797a94c13525825ccf6b..0e500d54817698593b6a348ef9d228abf9bed5d7 100644 (file)
@@ -48,8 +48,7 @@
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  * @(#)crypt_util.c    2.31 02/08/92
  *
@@ -814,7 +813,7 @@ main()
 
        if((strcmp(c_out1, expected_out) != 0) && 
                (strcmp(c_out2, expected_out) == 0))
-               return 1;
+               exit(1);
 
 #ifdef HAVE_BIGCRYPT
        /*
@@ -843,10 +842,10 @@ main()
 
                if((strcmp(big_c_out1, big_expected_out) != 0) && 
                        (strcmp(big_c_out2, big_expected_out) == 0))
-                       return 1;
+                       exit(1);
 
        }
 #endif
 
-       return 0;
+       exit(0);
 }