diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | auth-rsa.c | 8 |
2 files changed, 12 insertions, 3 deletions
@@ -35,6 +35,11 @@ | |||
35 | - stevesk@cvs.openbsd.org 2001/11/29 19:06:39 | 35 | - stevesk@cvs.openbsd.org 2001/11/29 19:06:39 |
36 | [channels.h] | 36 | [channels.h] |
37 | remove dead function prototype; ok markus@ | 37 | remove dead function prototype; ok markus@ |
38 | - markus@cvs.openbsd.org 2001/11/29 22:08:48 | ||
39 | [auth-rsa.c] | ||
40 | fix protocol error: send 'failed' message instead of a 2nd challenge | ||
41 | (happens if the same key is in authorized_keys twice). | ||
42 | reported Ralf_Meister@genua.de; ok djm@ | ||
38 | 43 | ||
39 | 20011126 | 44 | 20011126 |
40 | - (tim) [contrib/cygwin/README, openbsd-compat/bsd-cygwin_util.c, | 45 | - (tim) [contrib/cygwin/README, openbsd-compat/bsd-cygwin_util.c, |
@@ -6957,4 +6962,4 @@ | |||
6957 | - Wrote replacements for strlcpy and mkdtemp | 6962 | - Wrote replacements for strlcpy and mkdtemp |
6958 | - Released 1.0pre1 | 6963 | - Released 1.0pre1 |
6959 | 6964 | ||
6960 | $Id: ChangeLog,v 1.1677 2001/12/06 16:49:57 mouring Exp $ | 6965 | $Id: ChangeLog,v 1.1678 2001/12/06 17:41:25 mouring Exp $ |
diff --git a/auth-rsa.c b/auth-rsa.c index 701d8bd53..61aa64349 100644 --- a/auth-rsa.c +++ b/auth-rsa.c | |||
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$OpenBSD: auth-rsa.c,v 1.44 2001/07/23 18:14:58 stevesk Exp $"); | 17 | RCSID("$OpenBSD: auth-rsa.c,v 1.45 2001/11/29 22:08:48 markus Exp $"); |
18 | 18 | ||
19 | #include <openssl/rsa.h> | 19 | #include <openssl/rsa.h> |
20 | #include <openssl/md5.h> | 20 | #include <openssl/md5.h> |
@@ -240,7 +240,11 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n) | |||
240 | /* Wrong response. */ | 240 | /* Wrong response. */ |
241 | verbose("Wrong response to RSA authentication challenge."); | 241 | verbose("Wrong response to RSA authentication challenge."); |
242 | packet_send_debug("Wrong response to RSA authentication challenge."); | 242 | packet_send_debug("Wrong response to RSA authentication challenge."); |
243 | continue; | 243 | /* |
244 | * Break out of the loop. Otherwise we might send | ||
245 | * another challenge and break the protocol. | ||
246 | */ | ||
247 | break; | ||
244 | } | 248 | } |
245 | /* | 249 | /* |
246 | * Correct response. The client has been successfully | 250 | * Correct response. The client has been successfully |