Merge pull request #535 from TenGbps/patch-1

Update sasl.c
This commit is contained in:
van Hauser 2020-05-21 22:37:49 +02:00 committed by GitHub
commit 609201f9c4
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;