lua-bcrypt

Secure password hashing for Lua
Log | Files | Refs

commit 25741bcc9b36628cde16afb91a8790239d6d59f4
parent 2922c1ac7403f9900042b80403949219576f5514
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat, 27 Dec 2014 09:15:05 +0000

Add licensing info

Diffstat:
README.md | 11+++++++++++
src/main.c | 16++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -7,6 +7,17 @@ Requirements lua >= 5.1 +Copying +------- + +Many of the files in this repository have been taken from OpenBSD's +tree. You should consult individual file headers for specific licensing +information. More broadly, everything here is compatible with the [ISC +license][ISC]. + +[ISC]: http://en.wikipedia.org/wiki/ISC_license + + Installation ------------ diff --git a/src/main.c b/src/main.c @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2014, Michael Savage <mike@mikejsavage.co.uk> + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ + #include <sys/types.h> #include <pwd.h>