Skip to content

Commit ac579ff

Browse files
Added missing positive validation for 96 character hashes (SHA-384)
1 parent 63e69c0 commit ac579ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/bom-1.0.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194

195195
<xs:simpleType name="hashValue">
196196
<xs:restriction base="xs:token">
197-
<xs:pattern value="([a-fA-F0-9]{32})|([a-fA-F0-9]{40})|([a-fA-F0-9]{64})|([a-fA-F0-9]{128})"/>
197+
<xs:pattern value="([a-fA-F0-9]{32})|([a-fA-F0-9]{40})|([a-fA-F0-9]{64})|([a-fA-F0-9]{96})|([a-fA-F0-9]{128})"/>
198198
</xs:restriction>
199199
</xs:simpleType>
200200

0 commit comments

Comments
 (0)