1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Files
apache/include
Joe Orton 7f5de0aebf Add ap_*_timingsafe() constant-time comparison functions:
* include/httpd.h: Declare ap_memeq_timingsafe(),
  ap_streq_timingsafe(), ap_strneq_timingsafe().

* server/util.c: Implement, wrapping apr_*_timingsafe() if
  APR >= 1.8, with a fallback to copied-in versions.

* modules/aaa/mod_auth_digest.c: Replace apr_crypto_equals()
  with ap_memeq_timingsafe(). Remove apr_crypto.h include.

* modules/session/mod_session_crypto.c: Replace local
  ap_crypto_equals() with ap_memeq_timingsafe(). Remove
  the local implementation and macro alias.

Github: closes #638


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933389 13f79535-47bb-0310-9956-ffa450edef68
2026-04-27 12:54:48 +00:00
..
2026-01-04 15:11:13 +00:00
2024-06-24 17:19:44 +00:00
2023-06-09 11:18:02 +00:00
2022-05-08 12:31:31 +00:00
2018-08-14 21:47:22 +00:00
2022-04-13 07:40:17 +00:00
2014-07-19 08:35:51 +00:00
2014-07-17 21:36:02 +00:00
2014-07-16 22:22:49 +00:00