- Opps.. takes out debug printfs I accidentally left in :-(

This commit is contained in:
Randall Stewart 2007-06-09 13:53:27 +00:00
parent d00aff5d79
commit 2bf083e4c9
2 changed files with 0 additions and 16 deletions

View File

@ -1870,15 +1870,6 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
/* compare the received digest with the computed digest */
if (memcmp(calc_sig, sig, SCTP_SIGNATURE_SIZE) != 0) {
/* try the old cookie? */
printf("Signature size is %d\n", SCTP_SIGNATURE_SIZE);
printf("Signature %x %x %x %x %x %x %x %x\n",
sig[0], sig[1], sig[2], sig[3],
sig[4], sig[5], sig[6], sig[7]);
printf("Calc Signature %x %x %x %x %x %x %x %x\n",
calc_sig[0], calc_sig[1], calc_sig[2], calc_sig[3],
calc_sig[4], calc_sig[5], calc_sig[6], calc_sig[7]);
if ((cookie->time_entered.tv_sec == (long)ep->time_of_secret_change) &&
(ep->current_secret_number != ep->last_secret_number)) {
/* compute digest with old */

View File

@ -3158,7 +3158,6 @@ sctp_add_cookie(struct sctp_inpcb *inp, struct mbuf *init, int init_offset,
sig_offset = 0;
foo = (uint8_t *) (mtod(sig, caddr_t)+sig_offset);
memset(foo, 0, SCTP_SIGNATURE_SIZE);
printf("%p is address for signature\n", foo);
*signature = foo;
SCTP_BUF_LEN(sig) += SCTP_SIGNATURE_SIZE;
cookie_sz += SCTP_SIGNATURE_SIZE;
@ -5020,7 +5019,6 @@ sctp_send_initiate_ack(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
sctp_m_freem(m);
return;
}
printf("signature is set to %p\n", signature);
/* Now append the cookie to the end and update the space/size */
SCTP_BUF_NEXT(m_tmp) = m_cookie;
@ -5046,11 +5044,6 @@ sctp_send_initiate_ack(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
(uint8_t *) inp->sctp_ep.secret_key[(int)(inp->sctp_ep.current_secret_number)],
SCTP_SECRET_SIZE, m_cookie, sizeof(struct sctp_paramhdr),
(uint8_t *) signature, SCTP_SIGNATURE_SIZE);
printf("signed first 4 bytes are %x %x %x %x\n",
signature[0],
signature[1],
signature[2],
signature[3]);
/*
* We sifa 0 here to NOT set IP_DF if its IPv4, we ignore the return
* here since the timer will drive a retranmission.