diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-23 00:38:24 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-23 00:38:24 +0000 |
commit | e1c0912cb6af1d7ca8d260f9a3e21efdbe867050 (patch) | |
tree | 2e9ec96bc6bec92cda097f12c48950488c0a6469 | |
parent | 57f08005d3626a4f96a1af18ad47d55f2241f6c3 (diff) |
- stevesk@cvs.openbsd.org 2002/06/22 23:09:51
[monitor.c]
save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | monitor.c | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -28,6 +28,10 @@ | |||
28 | [sshd.c] | 28 | [sshd.c] |
29 | don't call setsid() if debugging or run from inetd; no "Operation not | 29 | don't call setsid() if debugging or run from inetd; no "Operation not |
30 | permitted" errors now; ok millert@ markus@ | 30 | permitted" errors now; ok millert@ markus@ |
31 | - stevesk@cvs.openbsd.org 2002/06/22 23:09:51 | ||
32 | [monitor.c] | ||
33 | save auth method before monitor_reset_key_state(); bugzilla bug #284; | ||
34 | ok provos@ | ||
31 | 35 | ||
32 | 20020622 | 36 | 20020622 |
33 | - (djm) Update README.privsep; spotted by fries@ | 37 | - (djm) Update README.privsep; spotted by fries@ |
@@ -1037,4 +1041,4 @@ | |||
1037 | - (stevesk) entropy.c: typo in debug message | 1041 | - (stevesk) entropy.c: typo in debug message |
1038 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 1042 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
1039 | 1043 | ||
1040 | $Id: ChangeLog,v 1.2252 2002/06/23 00:37:10 mouring Exp $ | 1044 | $Id: ChangeLog,v 1.2253 2002/06/23 00:38:24 mouring Exp $ |
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: monitor.c,v 1.16 2002/06/21 05:50:51 djm Exp $"); | 28 | RCSID("$OpenBSD: monitor.c,v 1.17 2002/06/22 23:09:51 stevesk Exp $"); |
29 | 29 | ||
30 | #include <openssl/dh.h> | 30 | #include <openssl/dh.h> |
31 | 31 | ||
@@ -982,14 +982,14 @@ mm_answer_keyverify(int socket, Buffer *m) | |||
982 | xfree(signature); | 982 | xfree(signature); |
983 | xfree(data); | 983 | xfree(data); |
984 | 984 | ||
985 | auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased"; | ||
986 | |||
985 | monitor_reset_key_state(); | 987 | monitor_reset_key_state(); |
986 | 988 | ||
987 | buffer_clear(m); | 989 | buffer_clear(m); |
988 | buffer_put_int(m, verified); | 990 | buffer_put_int(m, verified); |
989 | mm_request_send(socket, MONITOR_ANS_KEYVERIFY, m); | 991 | mm_request_send(socket, MONITOR_ANS_KEYVERIFY, m); |
990 | 992 | ||
991 | auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased"; | ||
992 | |||
993 | return (verified); | 993 | return (verified); |
994 | } | 994 | } |
995 | 995 | ||