Mercurial > dropbear
diff signkey.c @ 26:0969767bca0d
snapshot of stuff
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Jul 2004 02:44:20 +0000 |
parents | fe6bca95afa7 |
children | e2a1eaa19f22 |
line wrap: on
line diff
--- a/signkey.c Tue Jul 20 12:06:37 2004 +0000 +++ b/signkey.c Mon Jul 26 02:44:20 2004 +0000 @@ -45,7 +45,8 @@ } /* returns DROPBEAR_SUCCESS on success, DROPBEAR_FAILURE on fail. - * type is set to hold the type returned */ + * type should be set by the caller to specify the type to read, and + * on return is set to the type read (useful when type = _ANY) */ int buf_get_pub_key(buffer *buf, sign_key *key, int *type) { unsigned char* ident;