1/* Copyright (c) 2004-2007 Sara Golemon <sarag@libssh2.org> 2 * Copyright (c) 2005,2006 Mikhail Gusarov <dottedmag@dottedmag.net> 3 * Copyright (c) 2006-2007 The Written Word, Inc. 4 * Copyright (c) 2007 Eli Fant <elifantu@mail.ru> 5 * Copyright (c) 2009-2019 Daniel Stenberg 6 * Copyright (C) 2008, 2009 Simon Josefsson 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, 10 * with or without modification, are permitted provided 11 * that the following conditions are met: 12 * 13 * Redistributions of source code must retain the above 14 * copyright notice, this list of conditions and the 15 * following disclaimer. 16 * 17 * Redistributions in binary form must reproduce the above 18 * copyright notice, this list of conditions and the following 19 * disclaimer in the documentation and/or other materials 20 * provided with the distribution. 21 * 22 * Neither the name of the copyright holder nor the names 23 * of any other contributors may be used to endorse or 24 * promote products derived from this software without 25 * specific prior written permission. 26 * 27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 28 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 29 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 30 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 32 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 33 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 34 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 35 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 36 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 37 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 38 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 39 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 40 * OF SUCH DAMAGE. 41 */ 42 43