Permalink
Browse files

Merge pull request #324 from meawoppl/master

Typo Fix
  • Loading branch information...
defnull committed May 14, 2012
2 parents 85aa8c2 + f310de8 commit 5108c6bf2d0828d80953483450160dee8e88919a
Showing with 1 addition and 1 deletion.
  1. +1 −1 bottle.py
View
@@ -2141,7 +2141,7 @@ def parse_range_header(header, maxlen=0):
pass
def _lscmp(a, b):
- ''' Compares two strings in a cryptographically save way:
+ ''' Compares two strings in a cryptographically safe way:
Runtime is not affected by length of common prefix. '''
return not sum(0 if x==y else 1 for x, y in zip(a, b)) and len(a) == len(b)

0 comments on commit 5108c6b

Please sign in to comment.