cleaned out some debug info.

This commit is contained in:
gardners 2012-04-22 06:29:10 +09:30
parent 9b409c2891
commit ead3e8cb95
3 changed files with 0 additions and 10 deletions

View File

@ -241,7 +241,6 @@ void keyring_free_context(keyring_context *c)
void keyring_free_identity(keyring_identity *id)
{
int i;
WHYF("id->PKRPin=%p\n",id->PKRPin);
if (id->PKRPin) {
/* Wipe pin before freeing (slightly tricky since this is a variable length string */
for(i=0;id->PKRPin[i];i++) {
@ -249,7 +248,6 @@ void keyring_free_identity(keyring_identity *id)
id->PKRPin[i]=' '; }
i=0;
WHYF("id->PKRPin=%p\n",id->PKRPin);
free(id->PKRPin); id->PKRPin=NULL;
}
@ -522,8 +520,6 @@ keyring_identity *keyring_unpack_identity(unsigned char *slot,char *pin)
id->PKRPin=strdup(pin);
WHYF("id->PKRPin=%p\n",id->PKRPin);
/* There was a known plain-text opportunity here:
byte 96 must be 0x01, and some other bytes are likely deducible, e.g., the
location of the trailing 0x00 byte can probably be guessed with confidence.

View File

@ -572,9 +572,6 @@ int overlay_mdp_dispatch(overlay_mdp_frame *mdp,int userGeneratedFrameP,
/* Work out if destination is broadcast or not */
int broadcast=1;
fprintf(stderr,
"TX mdp dst.port=%d, src.port=%d\n",mdp->out.dst.port,mdp->out.src.port);
if (overlay_mdp_sanitytest_sourceaddr(&mdp->out.src,userGeneratedFrameP,
recvaddr,recvaddrlen))
return overlay_mdp_reply_error

3
vomp.c
View File

@ -518,9 +518,6 @@ int vomp_mdp_received(overlay_mdp_frame *mdp)
vomp_call_state *call=NULL;
WHYF("VoMP type byte = 0x%02x\n",mdp->in.payload[0]);
dump("rxd mdp",&mdp->in.payload[0],mdp->in.payload_length);
switch(mdp->in.payload[0]) {
case 0x01: /* Ordinary VoMP state+optional audio frame */
{