Update sasl.c

Some this the realm are long, if is too long is getting a #392
This commit is contained in:
TenGbps 2020-05-21 17:46:26 +02:00 committed by GitHub
parent 9abb946dc1
commit 167a1c53e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
sasl.c
View file

@ -271,7 +271,7 @@ char *sasl_digest_md5(char *result, char *login, char *pass, char *buffer, char
int32_t array_size = 10;
unsigned char response[MD5_DIGEST_LENGTH];
char *array[array_size];
char buffer2[500], buffer3[500], nonce[200], realm[50], algo[20];
char buffer2[500], buffer3[500], nonce[200], realm[200], algo[20];
int32_t i = 0, ind = 0, lastpos = 0, currentpos = 0, intq = 0, auth_find = 0;
MD5_CTX md5c;
char *preplogin;