From 3f87a95da89a18c428efbeb67268b5201da89281 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 16 Jan 2006 21:54:26 +0000 Subject: Update license --- libcrypt/crypt.c | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'libcrypt') diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c index a1bba6ebd..a64b4a556 100644 --- a/libcrypt/crypt.c +++ b/libcrypt/crypt.c @@ -3,24 +3,11 @@ * crypt() for uClibc * * Copyright (C) 2000 by Lineo, inc. and Erik Andersen - * Copyright (C) 2000,2001 by Erik Andersen - * Written by Erik Andersen + * Copyright (C) 2000-2006 Erik Andersen * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ +/* Written by Erik Andersen */ #define __FORCE_GLIBC #include @@ -29,7 +16,7 @@ extern char * __md5_crypt( const char *pw, const char *salt) attribute_hidden; extern char * __des_crypt( const char *pw, const char *salt) attribute_hidden; -extern char * crypt(const char *key, const char *salt) +char * crypt(const char *key, const char *salt) { /* First, check if we are supposed to be using the MD5 replacement * instead of DES... */ -- cgit v1.2.3