mirror of
https://github.com/apple/swift-certificates
synced 2026-11-22 04:20:39 +00:00
Fix typo in SignatureAlgorithm error message. (#295)
## Summary - Fixed typo in `SignatureAlgorithm.swift:180`: "unsupprted" → "unsupported" ## Details The error message thrown when an unsupported signature algorithm value is encountered contained a spelling error. This has been corrected. ## Test plan - Existing tests continue to pass - The error message is only shown when an invalid algorithm is used, so no new tests are needed
This commit is contained in:
1 parent
5aa1c0d1bc
commit
e9312a35a3
1 file changed
+1
-1
@@ -177,7 +177,7 @@ extension Certificate.SignatureAlgorithm {
|
||||
return 0x0807
|
||||
default:
|
||||
throw CertificateError.unsupportedSignatureAlgorithm(
|
||||
reason: "SignatureAlgorithm(\(self)) has an unsupprted value"
|
||||
reason: "SignatureAlgorithm(\(self)) has an unsupported value"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user