From 6787a70c5fee91a175d747b25a883bd830ff1418 Mon Sep 17 00:00:00 2001 From: rrs Date: Sat, 9 Jun 2007 13:53:27 +0000 Subject: [PATCH] - Opps.. takes out debug printfs I accidentally left in :-( --- sys/netinet/sctp_input.c | 9 --------- sys/netinet/sctp_output.c | 7 ------- 2 files changed, 16 deletions(-) diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index 1c4bb2eae95c..c5fde7b667ca 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -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 */ diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 5fd251d12310..fda7e447b643 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -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.