mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-19 11:19:34 +00:00
Debug function.
This commit is contained in:
1 parent
13e435ebca
commit
4e076d746f
1 file changed
+10
@@ -36,6 +36,16 @@ static union _Pool
|
||||
} Pool[POOL_SIZE];
|
||||
static char pool_used = 0;
|
||||
|
||||
static void print_hex(unsigned char *data, unsigned len)
|
||||
{
|
||||
while (len > 0)
|
||||
{
|
||||
printf("%02x", *data++);
|
||||
--len;
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
static int rsasha1_set_signature(VerifyAlgCtx *ctx_, unsigned char *data, unsigned len)
|
||||
{
|
||||
VACTX_rsasha1 *ctx = (VACTX_rsasha1 *)ctx_;
|
||||
|
||||
Reference in new issue
Block a user