1511b41d2SMark Murray /* 2511b41d2SMark Murray * Copyright (c) 1999 Markus Friedl. All rights reserved. 3511b41d2SMark Murray * 4511b41d2SMark Murray * Redistribution and use in source and binary forms, with or without 5511b41d2SMark Murray * modification, are permitted provided that the following conditions 6511b41d2SMark Murray * are met: 7511b41d2SMark Murray * 1. Redistributions of source code must retain the above copyright 8511b41d2SMark Murray * notice, this list of conditions and the following disclaimer. 9511b41d2SMark Murray * 2. Redistributions in binary form must reproduce the above copyright 10511b41d2SMark Murray * notice, this list of conditions and the following disclaimer in the 11511b41d2SMark Murray * documentation and/or other materials provided with the distribution. 12511b41d2SMark Murray * 3. All advertising materials mentioning features or use of this software 13511b41d2SMark Murray * must display the following acknowledgement: 14511b41d2SMark Murray * This product includes software developed by Markus Friedl. 15511b41d2SMark Murray * 4. The name of the author may not be used to endorse or promote products 16511b41d2SMark Murray * derived from this software without specific prior written permission. 17511b41d2SMark Murray * 18511b41d2SMark Murray * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 19511b41d2SMark Murray * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20511b41d2SMark Murray * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21511b41d2SMark Murray * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22511b41d2SMark Murray * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23511b41d2SMark Murray * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24511b41d2SMark Murray * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25511b41d2SMark Murray * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26511b41d2SMark Murray * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27511b41d2SMark Murray * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28511b41d2SMark Murray */ 29511b41d2SMark Murray 30511b41d2SMark Murray #include "includes.h" 31511b41d2SMark Murray RCSID("$Id: compat.c,v 1.5 1999/11/24 16:15:24 markus Exp $"); 32511b41d2SMark Murray 33511b41d2SMark Murray #include "ssh.h" 34511b41d2SMark Murray 35511b41d2SMark Murray int compat13 = 0; 36511b41d2SMark Murray 37511b41d2SMark Murray void 38511b41d2SMark Murray enable_compat13(void) 39511b41d2SMark Murray { 40511b41d2SMark Murray verbose("Enabling compatibility mode for protocol 1.3"); 41511b41d2SMark Murray compat13 = 1; 42511b41d2SMark Murray } 43