summaryrefslogtreecommitdiffhomepage
path: root/svr-authpubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-authpubkey.c')
-rw-r--r--svr-authpubkey.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/svr-authpubkey.c b/svr-authpubkey.c
index aa6087c..0ca0ea4 100644
--- a/svr-authpubkey.c
+++ b/svr-authpubkey.c
@@ -473,4 +473,12 @@ static int checkfileperm(char * filename) {
return DROPBEAR_SUCCESS;
}
+#if DROPBEAR_FUZZ
+int fuzz_checkpubkey_line(buffer* line, int line_num, char* filename,
+ const char* algo, unsigned int algolen,
+ const unsigned char* keyblob, unsigned int keybloblen) {
+ return checkpubkey_line(line, line_num, filename, algo, algolen, keyblob, keybloblen);
+}
+#endif
+
#endif