From d0e4dd5cdd743a5c43c4ccc2c8fa29d3982eaa71 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Tue, 26 Aug 2025 13:37:34 +0200 Subject: Fixed #36572 -- Revert "Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in favor of hmac.compare_digest()." This reverts commit 0246f478882c26bc1fe293224653074cd46a90d0. --- docs/internals/deprecation.txt | 2 -- docs/releases/6.0.txt | 3 --- 2 files changed, 5 deletions(-) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 5337800d67..22105090d2 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -53,8 +53,6 @@ details on these changes. * The ``django.core.mail.forbid_multi_line_headers()`` and ``django.core.mail.message.sanitize_address()`` functions will be removed. -* The ``django.utils.crypto.constant_time_compare()`` function will be removed. - .. _deprecation-removed-in-6.1: 6.1 diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index f131ac7c0d..e54b9788ce 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -570,9 +570,6 @@ Miscellaneous * The undocumented ``django.core.mail.forbid_multi_line_headers()`` and ``django.core.mail.message.sanitize_address()`` functions are deprecated. -* The ``django.utils.crypto.constant_time_compare()`` function is deprecated - because it is merely an alias of :py:func:`hmac.compare_digest`. - Features removed in 6.0 ======================= -- cgit v1.3