diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-08 16:17:05 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-08 16:17:05 +0000 |
commit | 39dce0098015867dcea115c88ef485485cd6032a (patch) | |
tree | 3863ec9a3a9dcc14d9c0ec96f83bd64f288fa07f /signkey.h | |
parent | 333eac7f9a976d646e319a044923872a9b876789 (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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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_ */ |