From d452ba59b57e45ba64d06176094d3e104d16a290 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 25 Jul 2008 05:32:52 +0000 Subject: [PATCH] Added copyright statement from OpenBSD authors. git-svn-id: file:///svn/unbound/trunk@1165 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 3 +++ util/random.c | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 054d390b8..ca6af76e5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +25 July 2008: Wouter + - added original copyright statement of OpenBSD arc4random code. + 22 July 2008: Wouter - moved pipe actions to util/tube.c. easier porting and shared code. - check _raw() commpoint callbacks with fptr_wlist. diff --git a/util/random.c b/util/random.c index 386383752..02368ebe4 100644 --- a/util/random.c +++ b/util/random.c @@ -40,7 +40,22 @@ * * The code in this file is based on arc4random from * openssh-4.0p1/openbsd-compat/bsd-arc4random.c - * That code is also BSD licensed. + * That code is also BSD licensed. Here is their statement: + * + * Copyright (c) 1996, David Mazieres + * Copyright (c) 2008, Damien Miller + * + * Permission to use, copy, modify, and 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 "config.h" #include "util/random.h"