File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
hackage-security/src/Hackage/Security Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ data Repository down = DownloadedFile down => Repository {
181
181
-- * Download the file from the repository and make it available at a
182
182
-- temporary location
183
183
-- * Use the provided file length to protect against endless data attacks.
184
- -- (Repositories such as local repositories that are not suspectible to
184
+ -- (Repositories such as local repositories that are not susceptible to
185
185
-- endless data attacks can safely ignore this argument.)
186
186
-- * Move the file from its temporary location to its permanent location
187
187
-- if verification succeeds.
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ data HttpLib = HttpLib {
45
45
-- HTTP servers are normally expected to respond to a range request with
46
46
-- a "206 Partial Content" response. However, servers can respond with a
47
47
-- "200 OK" response, sending the entire file instead (for instance, this
48
- -- may happen for servers that don't actually support range rqeuests , but
48
+ -- may happen for servers that don't actually support range requests , but
49
49
-- for which we optimistically assumed they did). Implementations of
50
50
-- 'HttpLib' may accept such a response and inform the @hackage-security@
51
51
-- library that the whole file is being returned; the security library can
Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ createKey' = liftM Some . createKey
145
145
-- | The key ID of a key, by definition, is the hexdigest of the SHA-256 hash of
146
146
-- the canonical JSON form of the key where the private object key is excluded.
147
147
--
148
- -- NOTE: The FromJSON and ToJSON instances for KeyId are ntentially omitted. Use
149
- -- writeKeyAsId instead.
148
+ -- NOTE: The FromJSON and ToJSON instances for KeyId are intentionally omitted.
149
+ -- Use writeKeyAsId instead.
150
150
newtype KeyId = KeyId { keyIdString :: String }
151
151
deriving (Show , Eq , Ord )
152
152
You can’t perform that action at this time.
0 commit comments