Merge heads.

This commit is contained in:
Georg Brandl 2012-06-24 16:11:23 +02:00
commit ae64b4d8e2
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ This module also provides the following helper function:
appropriate for cryptography. *a* and *b* appropriate for cryptography. *a* and *b*
must both be of the same type: either :class:`str` (ASCII only, as e.g. must both be of the same type: either :class:`str` (ASCII only, as e.g.
returned by :meth:`HMAC.hexdigest`), or any type that supports the returned by :meth:`HMAC.hexdigest`), or any type that supports the
:term:`buffer protocol` (e.g. :class:`bytes`). buffer protocol (e.g. :class:`bytes`).
Using a short circuiting comparison (that is, one that terminates as soon as Using a short circuiting comparison (that is, one that terminates as soon as
it finds any difference between the values) to check digests for correctness it finds any difference between the values) to check digests for correctness