summaryrefslogtreecommitdiff
path: root/user/dovecot/apop.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:04:07 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:04:07 +0000
commit6df13a295a05271a8530232e794008b03c29ad0e (patch)
tree085910de446f5b96ed39a6e7d6e4c9a9d02e9aff /user/dovecot/apop.patch
parentb8fd1ecd4988d5628067a6e1c6012014df958fc6 (diff)
parentd8d3b259d77102c8ec2fa44bffbfa6a5c0d1fd2a (diff)
downloadpackages-6df13a295a05271a8530232e794008b03c29ad0e.tar.gz
packages-6df13a295a05271a8530232e794008b03c29ad0e.tar.bz2
packages-6df13a295a05271a8530232e794008b03c29ad0e.tar.xz
packages-6df13a295a05271a8530232e794008b03c29ad0e.zip
Merge branch 'secfix/dovecot/2.3.13' into 'master'
user/dovecot: security bump to 2.3.13 See merge request adelie/packages!596
Diffstat (limited to 'user/dovecot/apop.patch')
-rw-r--r--user/dovecot/apop.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/user/dovecot/apop.patch b/user/dovecot/apop.patch
deleted file mode 100644
index a75c770e5..000000000
--- a/user/dovecot/apop.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From d1c5d356f36aaf9c32708cc6960fcaebe1cf6e63 Mon Sep 17 00:00:00 2001
-From: Paul Howarth <paul@city-fan.org>
-Date: Sun, 16 Aug 2020 20:32:03 +0100
-Subject: [PATCH] Fix APOP test failure on 32-bit systems
-
-The challenge timestamp is read as a hex number in mech_apop_auth_initial()
-so it should be written as hex, not decimal.
-
-Also fix compiler warnings for 32-bit architectures.
----
- src/auth/test-mech.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/auth/test-mech.c b/src/auth/test-mech.c
-index cf05370035..db9f85ccfc 100644
---- a/src/auth/test-mech.c
-+++ b/src/auth/test-mech.c
-@@ -192,11 +192,11 @@ static void test_mech_handle_challenge(struct auth_request *request,
- }
-
- static inline const unsigned char *
--test_mech_construct_apop_challenge(unsigned int connect_uid, unsigned long *len_r)
-+test_mech_construct_apop_challenge(unsigned int connect_uid, size_t *len_r)
- {
- string_t *apop_challenge = t_str_new(128);
-
-- str_printfa(apop_challenge,"<%lx.%u.%"PRIdTIME_T"", (unsigned long) getpid(),
-+ str_printfa(apop_challenge,"<%lx.%u.%"PRIxTIME_T"", (unsigned long) getpid(),
- connect_uid, process_start_time+10);
- str_append_data(apop_challenge, "\0testuser\0responseoflen16-", 26);
- *len_r = apop_challenge->used;
-@@ -323,7 +323,7 @@ static void test_mechs(void)
- struct test_case *test_case = &tests[running_test];
- const struct mech_module *mech = test_case->mech;
- struct auth_request *request;
-- const char *testname = t_strdup_printf("auth mech %s %d/%lu",
-+ const char *testname = t_strdup_printf("auth mech %s %d/%zu",
- mech->mech_name,
- running_test+1,
- N_ELEMENTS(tests));