Bump deps

This commit is contained in:
Jeff Mitchell
2017-07-18 10:15:54 -04:00
parent 88910d0b1c
commit 79c47b9433
378 changed files with 22305 additions and 14008 deletions

View File

@@ -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)