From 9de9fc9ea227fecb6ae7029c96814918d2c89057 Mon Sep 17 00:00:00 2001 From: Roland Groen Date: Tue, 15 Oct 2024 13:55:33 +0200 Subject: [PATCH] Add a comment to keep DebugUnmarshall for future debugging A comment was added to the DebugUnmarshall method to indicate that it should be retained for future debugging purposes. --- x509_cert/x509_test_utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x509_cert/x509_test_utils.go b/x509_cert/x509_test_utils.go index ea2861c..d2f825f 100644 --- a/x509_cert/x509_test_utils.go +++ b/x509_cert/x509_test_utils.go @@ -231,6 +231,7 @@ func CreateCert(template, parent *x509.Certificate, pub interface{}, parentPriv } // DebugUnmarshall recursively unmarshalls ASN.1 encoded data and prints the structure with parsed values. +// Keep this method for debug purposes in the future. func DebugUnmarshall(data []byte, depth int) error { for len(data) > 0 { var x asn1.RawValue