X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fauths%2Fget_data.c;h=3857e07389d3563fb3f4a5b04131ba9120474d2d;hb=925ac8e4f1c5d365ddea2f7aee460cd0a3cd409d;hp=4d6c6d4a647bf69a00d5a4a45452a52f05cdfbf6;hpb=8d6d5106a6f1bcba010877d55932a8d8dcfa88bd;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/auths/get_data.c b/src/src/auths/get_data.c index 4d6c6d4a6..3857e0738 100644 --- a/src/src/auths/get_data.c +++ b/src/src/auths/get_data.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2015 */ +/* Copyright (c) University of Cambridge 1995 - 2016 */ /* See the file NOTICE for conditions of use and distribution. */ #include "../exim.h" @@ -30,8 +30,8 @@ auth_get_data(uschar **aptr, uschar *challenge, int challen) { int c; int p = 0; -smtp_printf("334 %s\r\n", b64encode(challenge, challen)); -while ((c = receive_getc()) != '\n' && c != EOF) +smtp_printf("334 %s\r\n", FALSE, b64encode(challenge, challen)); +while ((c = receive_getc(GETC_BUFFER_UNLIMITED)) != '\n' && c != EOF) { if (p >= big_buffer_size - 1) return BAD64; big_buffer[p++] = c;