summaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-12 20:17:38 +1000
committerDamien Miller <djm@mindrot.org>2000-04-12 20:17:38 +1000
commit78928793fb23a3a4c80ae62eca6a7826b2987690 (patch)
treeadd8a953ac4cf06877b91624fe7f647b17e6cf6f /compat.h
parentefb4afe0265333ce554f699c2a19ae249dd8d1b5 (diff)
- OpenBSD CVS updates:
- [channels.c] repair x11-fwd - [sshconnect.c] fix passwd prompt for ssh2, less debugging output. - [clientloop.c compat.c dsa.c kex.c sshd.c] less debugging output - [kex.c kex.h sshconnect.c sshd.c] check for reasonable public DH values - [README.openssh2 cipher.c cipher.h compat.c compat.h readconf.c] [readconf.h servconf.c servconf.h ssh.c ssh.h sshconnect.c sshd.c] add Cipher and Protocol options to ssh/sshd, e.g.: ssh -o 'Protocol 1,2' if you prefer proto 1, ssh -o 'Ciphers arcfour,3des-cbc' - [sshd.c] print 1.99 only if server supports both
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 4247f53b4..4943e5a29 100644
--- a/compat.h
+++ b/compat.h
@@ -26,13 +26,20 @@
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29/* RCSID("$Id: compat.h,v 1.4 2000/04/04 04:39:01 damien Exp $"); */ 29/* RCSID("$Id: compat.h,v 1.5 2000/04/12 10:17:39 damien Exp $"); */
30 30
31#ifndef COMPAT_H 31#ifndef COMPAT_H
32#define COMPAT_H 32#define COMPAT_H
33
34#define SSH_PROTO_UNKNOWN 0x00
35#define SSH_PROTO_1 0x01
36#define SSH_PROTO_1_PREFERRED 0x02
37#define SSH_PROTO_2 0x04
38
33void enable_compat13(void); 39void enable_compat13(void);
34void enable_compat20(void); 40void enable_compat20(void);
35void compat_datafellows(const char *s); 41void compat_datafellows(const char *s);
42int proto_spec(const char *spec);
36extern int compat13; 43extern int compat13;
37extern int compat20; 44extern int compat20;
38extern int datafellows; 45extern int datafellows;