summaryrefslogtreecommitdiffhomepage
path: root/algo.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-19 00:31:41 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-19 00:31:41 +0800
commit5acee497bf3e44d86bdecf5bfa35042c363ab753 (patch)
tree8576a44683dda3c007bfec6b48831f2c31268044 /algo.h
parent972d723484d89c71e73ed63cc17bb2a6ce8cca5a (diff)
ext-info handling for server-sig-algs
only client side is handled
Diffstat (limited to 'algo.h')
-rw-r--r--algo.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/algo.h b/algo.h
index 1a6d384..1565665 100644
--- a/algo.h
+++ b/algo.h
@@ -114,18 +114,11 @@ struct dropbear_kex {
void buf_put_algolist(buffer * buf, const algo_type localalgos[]);
-enum kexguess2_used {
- KEXGUESS2_LOOK,
- KEXGUESS2_NO,
- KEXGUESS2_YES,
-};
-
#define KEXGUESS2_ALGO_NAME "kexguess2@matt.ucc.asn.au"
-#define KEXGUESS2_ALGO_ID 99
-
+int buf_has_algo(buffer *buf, const char *algo);
algo_type * buf_match_algo(buffer* buf, algo_type localalgos[],
- enum kexguess2_used *kexguess2, int *goodguess);
+ int kexguess2, int *goodguess);
#if DROPBEAR_USER_ALGO_LIST
int check_user_algos(const char* user_algo_list, algo_type * algos,