summary refs log tree commit
diff options
context:
space:
mode:
authorKonstantin Haase <konstantin.mailinglists@googlemail.com>2014-10-10 17:27:37 +0200
committerKonstantin Haase <konstantin.mailinglists@googlemail.com>2014-10-10 17:27:37 +0200
commit575bbcba780d9ba71f173921aa1fcb024890b867 (patch)
tree0844d3262832d05c576007047ba6619845f9f4e5
parent68e086d2b42ee2c9fc8017264aa353a0d543fd13 (diff)
parentfd6daea56a6b23c3789ce92dc17e365c68e29b21 (diff)
downloadrack-575bbcba780d9ba71f173921aa1fcb024890b867.tar.gz
Merge pull request #744 from createdbypete/fix-typo
Fix typo in comment
-rw-r--r--lib/rack/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/utils.rb b/lib/rack/utils.rb
index beae2f86..358eff07 100644
--- a/lib/rack/utils.rb
+++ b/lib/rack/utils.rb
@@ -418,7 +418,7 @@ module Rack
     # Constant time string comparison.
     #
     # NOTE: the values compared should be of fixed length, such as strings
-    # that have aready been processed by HMAC.  This should not be used
+    # that have already been processed by HMAC. This should not be used
     # on variable length plaintext strings because it could leak length info
     # via timing attacks.
     def secure_compare(a, b)