summaryrefslogtreecommitdiffhomepage
path: root/signkey.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-08 16:17:05 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-08 16:17:05 +0000
commit39dce0098015867dcea115c88ef485485cd6032a (patch)
tree3863ec9a3a9dcc14d9c0ec96f83bd64f288fa07f /signkey.h
parent333eac7f9a976d646e319a044923872a9b876789 (diff)
- Hostkey checking is mostly there, just aren't appending yet.
- Rearranged various bits of the fingerprint/base64 type code, so it can be shared between versions --HG-- extra : convert_revision : 6b8ab4ec5a6c99733fff584231b81ad9636ff15e
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_ */