[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[samba.git] / source / tests / crypttest.c
index 3f9a649027f2be37101afd3b74e8c43b197dc46f..0e500d54817698593b6a348ef9d228abf9bed5d7 100644 (file)
@@ -38,7 +38,7 @@
  * Copyright (C) 1991-1998, Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
+ * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 3 of the License, or (at your option) any later version.
  *
@@ -47,9 +47,8 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Library General Public License for more details.
  *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * 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);
 }