mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-03 18:53:56 +00:00
Bump deps
This commit is contained in:
3
vendor/github.com/go-ldap/ldap/dn.go
generated
vendored
3
vendor/github.com/go-ldap/ldap/dn.go
generated
vendored
@@ -143,6 +143,9 @@ func ParseDN(str string) (*DN, error) {
|
||||
}
|
||||
} else if char == ',' || char == '+' {
|
||||
// We're done with this RDN or value, push it
|
||||
if len(attribute.Type) == 0 {
|
||||
return nil, errors.New("incomplete type, value pair")
|
||||
}
|
||||
attribute.Value = stringFromBuffer()
|
||||
rdn.Attributes = append(rdn.Attributes, attribute)
|
||||
attribute = new(AttributeTypeAndValue)
|
||||
|
||||
Reference in New Issue
Block a user