diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-25 23:08:33 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-25 23:08:33 +0800 |
commit | c5e36f8e3cd390b77ce43f58f01b3d3a9111d989 (patch) | |
tree | 0924f43a4cf93bd6211e36117441165fdfb71e75 /signkey.c | |
parent | 5a85c4b91b8f602f325fbdea2adc697c50c1630f (diff) |
Fix some warnings
Diffstat (limited to 'signkey.c')
-rw-r--r-- | signkey.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -508,14 +508,13 @@ void buf_put_sign(buffer* buf, sign_key *key, enum signkey_type type, * signature blob */ int buf_verify(buffer * buf, sign_key *key, buffer *data_buf) { - unsigned int bloblen; unsigned char * type_name = NULL; unsigned int type_name_len = 0; enum signkey_type type; TRACE(("enter buf_verify")) - bloblen = buf_getint(buf); + buf_getint(buf); /* blob length */ type_name = buf_getstring(buf, &type_name_len); type = signkey_type_from_name(type_name, type_name_len); m_free(type_name); |