summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/svr-session.c b/svr-session.c
index 6c3147f..63c675c 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -195,6 +195,12 @@ void svr_session(int sock, int childpipe) {
/* start off with key exchange */
send_msg_kexinit();
+#if DROPBEAR_FUZZ
+ if (fuzz.fuzzing) {
+ fuzz_svr_hook_preloop();
+ }
+#endif
+
/* Run the main for loop. NULL is for the dispatcher - only the client
* code makes use of it */
session_loop(svr_chansess_checksignal);