summaryrefslogtreecommitdiffhomepage
path: root/signkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-25 23:08:33 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-25 23:08:33 +0800
commitc5e36f8e3cd390b77ce43f58f01b3d3a9111d989 (patch)
tree0924f43a4cf93bd6211e36117441165fdfb71e75 /signkey.c
parent5a85c4b91b8f602f325fbdea2adc697c50c1630f (diff)
Fix some warnings
Diffstat (limited to 'signkey.c')
-rw-r--r--signkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/signkey.c b/signkey.c
index 8347371..4ac40cb 100644
--- a/signkey.c
+++ b/signkey.c
@@ -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);