fixed all pluto compiler warnings

This commit is contained in:
Martin Willi
2008-03-28 11:48:14 +00:00
parent 7539b1d1aa
commit dca40a9483
10 changed files with 26 additions and 34 deletions
-10
View File
@@ -598,16 +598,6 @@ parse_ac(chunk_t blob, x509acert_t *ac)
return TRUE;
}
/*
* compare two X.509 attribute certificates by comparing their signatures
*/
static bool
same_x509acert(x509acert_t *a, x509acert_t *b)
{
return a->signature.len == b->signature.len &&
memcmp(a->signature.ptr, b->signature.ptr, b->signature.len) == 0;
}
/*
* release an ietfAttribute, free it if count reaches zero
*/