Add explicit MBEDTLS_DEBUG_C-guard around debugging code
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 4cb543c..4777844 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -4424,6 +4424,7 @@
         goto exit;
     }
 
+#if defined(MBEDTLS_DEBUG_C)
     /* Debug only */
     {
         unsigned offset;
@@ -4438,6 +4439,7 @@
             }
         }
     }
+#endif /* MBEDTLS_DEBUG_C */
 
     /* Check if we have buffered and/or fully reassembled the
      * next handshake message. */