diff svr-session.c @ 1681:435cfb9ec96e

send and handle SSH_MSG_EXT_INFO only at the correct point - other fixes for rsa pubkey auth - only include ext-info handling when rsa pubkey auth is compiled
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 May 2020 14:16:58 +0800
parents d5cdc60db08e
children a6da10ac64b5
line wrap: on
line diff
--- a/svr-session.c	Sun May 24 13:34:19 2020 +0800
+++ b/svr-session.c	Sun May 24 14:16:58 2020 +0800
@@ -337,9 +337,11 @@
 			algo->usable = 0;
 		}
 #endif
+#if DROPBEAR_EXT_INFO
 		if (strcmp(algo->name, SSH_EXT_INFO_C) == 0) {
 			algo->usable = 0;
 		}
+#endif
 	}
 }