Skip to content

Commit

Permalink
Remove leftover comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cpuschma committed Apr 7, 2024
1 parent 7ff30e1 commit 24a4046
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions dn.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ func (a *AttributeTypeAndValue) setValue(s string) error {
// AttributeValue is represented by an number sign ('#' U+0023)
// character followed by the hexadecimal encoding of each of the octets
// of the BER encoding of the X.500 AttributeValue.
//
// WARNING: we only support hex-encoded ASN.1 DER values here, not
// BER encoding. This is a deviation from the RFC.
if len(s) > 0 && s[0] == '#' {
decodedString, err := decodeEncodedString(s[1:])
if err != nil {
Expand Down
3 changes: 0 additions & 3 deletions v3/dn.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ func (a *AttributeTypeAndValue) setValue(s string) error {
// AttributeValue is represented by an number sign ('#' U+0023)
// character followed by the hexadecimal encoding of each of the octets
// of the BER encoding of the X.500 AttributeValue.
//
// WARNING: we only support hex-encoded ASN.1 DER values here, not
// BER encoding. This is a deviation from the RFC.
if len(s) > 0 && s[0] == '#' {
decodedString, err := decodeEncodedString(s[1:])
if err != nil {
Expand Down

0 comments on commit 24a4046

Please sign in to comment.