summaryrefslogtreecommitdiffhomepage
path: root/signkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'signkey.h')
-rw-r--r--signkey.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/signkey.h b/signkey.h
index 3bd5c58..8bc7e8f 100644
--- a/signkey.h
+++ b/signkey.h
@@ -54,7 +54,10 @@ void buf_put_sign(buffer* buf, sign_key *key, int type,
#ifdef DROPBEAR_SIGNKEY_VERIFY
int buf_verify(buffer * buf, sign_key *key, const unsigned char *data,
unsigned int len);
-char * sign_key_fingerprint(sign_key *key, int type);
+char * sign_key_fingerprint(unsigned char* keyblob, unsigned int keybloblen);
#endif
+int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen,
+ const unsigned char* algoname, unsigned int algolen,
+ buffer * line);
#endif /* _SIGNKEY_H_ */