You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
783 B

  1. From 734e3ce6747a5ed120b93a1ff253b3fde5f20024 Mon Sep 17 00:00:00 2001
  2. From: Meng Tan <mtan@wallix.com>
  3. Date: Wed, 17 Oct 2018 14:50:08 +0200
  4. Subject: [PATCH 3/8] server: Set correct state after sending INFO_REQUEST (Kbd
  5. Interactive)
  6. Signed-off-by: Meng Tan <mtan@wallix.com>
  7. Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
  8. (cherry picked from commit 4ea46eecce9f4e676150fe27fec34e1570b70ace)
  9. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
  10. ---
  11. src/server.c | 1 +
  12. 1 file changed, 1 insertion(+)
  13. --- a/src/server.c
  14. +++ b/src/server.c
  15. @@ -976,6 +976,7 @@ int ssh_message_auth_interactive_request
  16. msg->session->kbdint->prompts = NULL;
  17. msg->session->kbdint->echo = NULL;
  18. }
  19. + msg->session->auth.state = SSH_AUTH_STATE_INFO;
  20. return rc;
  21. }