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 ) {