Message ID | 20221010101023.50939-1-ayoub.zaki@embetrix.com |
---|---|
State | Accepted |
Headers | show |
Series | Mangoose : fix comment about used hash algo | expand |
Hi Ayoub, Mangoose ==> Mongoose, fixing by applying it - thanks ! Best regards, Stefano Babic On 10.10.22 12:10, Ayoub Zaki wrote: > Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com> > --- > mongoose/mongoose_interface.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c > index 4efb51c..71c394f 100644 > --- a/mongoose/mongoose_interface.c > +++ b/mongoose/mongoose_interface.c > @@ -222,7 +222,7 @@ static int mg_check_digest_auth(struct mg_str method, struct mg_str uri, > /* > * Read passwords file line by line. If should have htdigest format, > * i.e. each line should be a colon-separated sequence: > - * USER_NAME:DOMAIN_NAME:HA1_HASH_OF_USER_DOMAIN_AND_PASSWORD > + * USER_NAME:DOMAIN_NAME:MD5_HASH_OF_USER_DOMAIN_AND_PASSWORD > */ > while (fgets(buf, sizeof(buf), fp) != NULL) { > if (sscanf(buf, "%[^:]:%[^:]:%s", f_user, f_domain, f_ha1) == 3 &&
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 4efb51c..71c394f 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -222,7 +222,7 @@ static int mg_check_digest_auth(struct mg_str method, struct mg_str uri, /* * Read passwords file line by line. If should have htdigest format, * i.e. each line should be a colon-separated sequence: - * USER_NAME:DOMAIN_NAME:HA1_HASH_OF_USER_DOMAIN_AND_PASSWORD + * USER_NAME:DOMAIN_NAME:MD5_HASH_OF_USER_DOMAIN_AND_PASSWORD */ while (fgets(buf, sizeof(buf), fp) != NULL) { if (sscanf(buf, "%[^:]:%[^:]:%s", f_user, f_domain, f_ha1) == 3 &&
Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com> --- mongoose/mongoose_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)