comparison 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
comparison
equal deleted inserted replaced
25:e4b6e2d569b2 26:0969767bca0d
43 return ret; 43 return ret;
44 44
45 } 45 }
46 46
47 /* returns DROPBEAR_SUCCESS on success, DROPBEAR_FAILURE on fail. 47 /* returns DROPBEAR_SUCCESS on success, DROPBEAR_FAILURE on fail.
48 * type is set to hold the type returned */ 48 * type should be set by the caller to specify the type to read, and
49 * on return is set to the type read (useful when type = _ANY) */
49 int buf_get_pub_key(buffer *buf, sign_key *key, int *type) { 50 int buf_get_pub_key(buffer *buf, sign_key *key, int *type) {
50 51
51 unsigned char* ident; 52 unsigned char* ident;
52 unsigned int len; 53 unsigned int len;
53 54