git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix DKIM verify when used with CHUNKING. Bug 2016
[exim.git]
/
src
/
src
/
auths
/
get_no64_data.c
diff --git
a/src/src/auths/get_no64_data.c
b/src/src/auths/get_no64_data.c
index 4055c04113e353d6832c50dfba6553cd0cfbf535..71e71394ceedb4e05f8f214bcc23ee179e742984 100644
(file)
--- a/
src/src/auths/get_no64_data.c
+++ b/
src/src/auths/get_no64_data.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
09
*/
+/* Copyright (c) University of Cambridge 1995 - 20
12
*/
/* See the file NOTICE for conditions of use and distribution. */
#include "../exim.h"
/* See the file NOTICE for conditions of use and distribution. */
#include "../exim.h"
@@
-14,8
+14,8
@@
/* This function is used by authentication drivers to output a challenge
to the SMTP client and read the response line. This version does not use base
/* This function is used by authentication drivers to output a challenge
to the SMTP client and read the response line. This version does not use base
-64 encoding for the text on the 334 line. It is used by the SPA
and
dovecot
-authenticators.
+64 encoding for the text on the 334 line. It is used by the SPA
,
dovecot
+a
nd gsasl a
uthenticators.
Arguments:
aptr set to point to the response (which is in big_buffer)
Arguments:
aptr set to point to the response (which is in big_buffer)
@@
-32,7
+32,7
@@
auth_get_no64_data(uschar **aptr, uschar *challenge)
int c;
int p = 0;
smtp_printf("334 %s\r\n", challenge);
int c;
int p = 0;
smtp_printf("334 %s\r\n", challenge);
-while ((c = receive_getc()) != '\n' && c != EOF)
+while ((c = receive_getc(
GETC_BUFFER_UNLIMITED
)) != '\n' && c != EOF)
{
if (p >= big_buffer_size - 1) return BAD64;
big_buffer[p++] = c;
{
if (p >= big_buffer_size - 1) return BAD64;
big_buffer[p++] = c;