Skip to content

Commit

Permalink
Add a comment to keep DebugUnmarshall for future debugging
Browse files Browse the repository at this point in the history
A comment was added to the DebugUnmarshall method to indicate that it should be retained for future debugging purposes.
  • Loading branch information
rolandgroen committed Oct 15, 2024
1 parent 83c6989 commit 9de9fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x509_cert/x509_test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9de9fc9

Please sign in to comment.