Comply with base64 license terms (#14199)

This commit is contained in:
Lars Müller 2024-01-01 22:49:12 +01:00 committed by GitHub
parent d0753dddb1
commit 2c44620e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 13 deletions

@ -2,6 +2,7 @@
base64.cpp and base64.h base64.cpp and base64.h
Copyright (C) 2004-2008 René Nyffenegger Copyright (C) 2004-2008 René Nyffenegger
Stricter validation added by the Minetest Contributors.
This source code is provided 'as-is', without any express or implied This source code is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages warranty. In no event will the author be held liable for any damages

@ -1,20 +1,29 @@
/* /*
Minetest base64.cpp and base64.h
Copyright (C) 2013-2017 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify Copyright (C) 2004-2008 René Nyffenegger
it under the terms of the GNU Lesser General Public License as published by Minor modifications by the Minetest Contributors.
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, This source code is provided 'as-is', without any express or implied
but WITHOUT ANY WARRANTY; without even the implied warranty of warranty. In no event will the author be held liable for any damages
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the arising from the use of this software.
GNU Lesser General Public License for more details.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this source code must not be misrepresented; you must not
claim that you wrote the original source code. If you use this source code
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original source code.
3. This notice may not be removed or altered from any source distribution.
René Nyffenegger rene.nyffenegger@adp-gmbh.ch
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#pragma once #pragma once