diff options
Diffstat (limited to 'object/tag_parse.go')
| -rw-r--r-- | object/tag_parse.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/object/tag_parse.go b/object/tag_parse.go index 84256166..27dc998d 100644 --- a/object/tag_parse.go +++ b/object/tag_parse.go @@ -11,10 +11,6 @@ import ( // ParseTag decodes a tag object body. func ParseTag(body []byte, algo oid.Algorithm) (*Tag, error) { - if algo.Size() == 0 { - return nil, fmt.Errorf("object: tag: invalid hash algorithm %q", algo) - } - t := new(Tag) i := 0 var haveTarget, haveType bool |
