From 79c4e3ee593bc7e85ab8f9d1e7d10c7430b95474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 23 Jun 2015 14:29:40 +0200 Subject: [PATCH] Rm obsolete comments --- library/ssl_tls.c | 1 - library/x509_crt.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 8e47a969c..b0444e04e 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -6017,7 +6017,6 @@ static int ssl_check_ctr_renegotiate( mbedtls_ssl_context *ssl ) return( 0 ); } - // TODO: adapt for DTLS if( memcmp( ssl->in_ctr, ssl->conf->renego_period, 8 ) <= 0 && memcmp( ssl->out_ctr, ssl->conf->renego_period, 8 ) <= 0 ) { diff --git a/library/x509_crt.c b/library/x509_crt.c index 051b61a79..7bee9af9b 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -2014,8 +2014,6 @@ static int x509_crt_verify_child( mbedtls_x509_crt *grandparent; const mbedtls_md_info_t *md_info; - (void) profile; /* WIP */ - /* path_cnt is 0 for the first intermediate CA */ if( 1 + path_cnt > MBEDTLS_X509_MAX_INTERMEDIATE_CA ) {