diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-09 00:12:22 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-09 00:12:22 +0000 |
commit | 266dfdfd62d169c62618d73cd72df0391c072be1 (patch) | |
tree | 3a51150147ab8fbc365f4d285b3046202bb1a2fc /compat.c | |
parent | 283cb821cda4e05b33a1e87854db276757e9fdf8 (diff) |
- markus@cvs.openbsd.org 2001/03/08 21:42:33
[compat.c compat.h readconf.h ssh.c sshconnect1.c sshconnect2.c]
implement client side of SSH2_MSG_USERAUTH_PK_OK (test public key ->
no need to do enter passphrase or do expensive sign operations if the
server does not accept key).
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: compat.c,v 1.36 2001/02/27 11:00:11 markus Exp $"); | 26 | RCSID("$OpenBSD: compat.c,v 1.37 2001/03/08 21:42:31 markus Exp $"); |
27 | 27 | ||
28 | #ifdef HAVE_LIBPCRE | 28 | #ifdef HAVE_LIBPCRE |
29 | # include <pcreposix.h> | 29 | # include <pcreposix.h> |
@@ -78,11 +78,12 @@ compat_datafellows(const char *version) | |||
78 | SSH_OLD_SESSIONID|SSH_BUG_DEBUG }, | 78 | SSH_OLD_SESSIONID|SSH_BUG_DEBUG }, |
79 | { "^2\\.0\\.1[3-9]", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| | 79 | { "^2\\.0\\.1[3-9]", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| |
80 | SSH_OLD_SESSIONID|SSH_BUG_DEBUG| | 80 | SSH_OLD_SESSIONID|SSH_BUG_DEBUG| |
81 | SSH_BUG_PKSERVICE|SSH_BUG_X11FWD }, | 81 | SSH_BUG_PKSERVICE|SSH_BUG_X11FWD| |
82 | SSH_BUG_PKOK }, | ||
82 | { "^2\\.0\\.", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| | 83 | { "^2\\.0\\.", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| |
83 | SSH_OLD_SESSIONID|SSH_BUG_DEBUG| | 84 | SSH_OLD_SESSIONID|SSH_BUG_DEBUG| |
84 | SSH_BUG_PKSERVICE|SSH_BUG_X11FWD| | 85 | SSH_BUG_PKSERVICE|SSH_BUG_X11FWD| |
85 | SSH_BUG_PKAUTH }, | 86 | SSH_BUG_PKAUTH|SSH_BUG_PKOK }, |
86 | { "^2\\.[23]\\.0", SSH_BUG_HMAC}, | 87 | { "^2\\.[23]\\.0", SSH_BUG_HMAC}, |
87 | { "^2\\.[2-9]\\.", 0 }, | 88 | { "^2\\.[2-9]\\.", 0 }, |
88 | { "^2\\.4$", SSH_OLD_SESSIONID}, /* Van Dyke */ | 89 | { "^2\\.4$", SSH_OLD_SESSIONID}, /* Van Dyke */ |