c45a5554e7
- Fix test on 32-bit: * dovecot-2.3.11.3-ftbfs1.patch * dovecot-2.3.11.3-ftbfs2.patch OBS-URL: https://build.opensuse.org/request/show/850375 OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot23?expand=0&rev=85
16 lines
697 B
Diff
16 lines
697 B
Diff
diff --git a/src/auth/test-mech.c b/src/auth/test-mech.c
|
|
index cf05370035..0a030a2be0 100644
|
|
--- a/src/auth/test-mech.c
|
|
+++ b/src/auth/test-mech.c
|
|
@@ -196,8 +196,8 @@ test_mech_construct_apop_challenge(unsigned int connect_uid, unsigned long *len_
|
|
{
|
|
string_t *apop_challenge = t_str_new(128);
|
|
|
|
- str_printfa(apop_challenge,"<%lx.%u.%"PRIdTIME_T"", (unsigned long) getpid(),
|
|
- connect_uid, process_start_time+10);
|
|
+ str_printfa(apop_challenge,"<%lx.%lx.%"PRIxTIME_T".", (unsigned long)getpid(),
|
|
+ (unsigned long)connect_uid, process_start_time+10);
|
|
str_append_data(apop_challenge, "\0testuser\0responseoflen16-", 26);
|
|
*len_r = apop_challenge->used;
|
|
return apop_challenge->data;
|