diff options
author | mm <mm@FreeBSD.org> | 2011-09-18 17:10:57 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-09-18 17:10:57 +0800 |
commit | 949557d36675c61dbe0eddf905024eb521f26b74 (patch) | |
tree | 9818818a0d073c1a9234f33e66e89c535dfbfbda /www/lighttpd | |
parent | d26edbc5b934891782654396677b9cc282a7c5aa (diff) | |
download | freebsd-ports-gnome-949557d36675c61dbe0eddf905024eb521f26b74.tar.gz freebsd-ports-gnome-949557d36675c61dbe0eddf905024eb521f26b74.tar.zst freebsd-ports-gnome-949557d36675c61dbe0eddf905024eb521f26b74.zip |
Fix extra-patch-mysqlauth
PR: ports/160671
Submitted by: Zhihao Yuan <lichray@gmail.com>
Diffstat (limited to 'www/lighttpd')
-rw-r--r-- | www/lighttpd/files/extra-patch-mysqlauth | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/lighttpd/files/extra-patch-mysqlauth b/www/lighttpd/files/extra-patch-mysqlauth index 672457f195a1..72cf7f0a36a4 100644 --- a/www/lighttpd/files/extra-patch-mysqlauth +++ b/www/lighttpd/files/extra-patch-mysqlauth @@ -171,13 +171,13 @@ diff -Naur new/lighttpd-1.4.23/src/http_auth.c old/lighttpd-1.4.23/src/http_auth + } else + /* plain md5 check now */ + { -+ MD5_CTX Md5Ctx; ++ li_MD5_CTX Md5Ctx; + HASH HA1; + char a1[256]; + -+ MD5_Init(&Md5Ctx); -+ MD5_Update(&Md5Ctx, (unsigned char *)pw, strlen(pw)); -+ MD5_Final(HA1, &Md5Ctx); ++ li_MD5_Init(&Md5Ctx); ++ li_MD5_Update(&Md5Ctx, (unsigned char *)pw, strlen(pw)); ++ li_MD5_Final(HA1, &Md5Ctx); + + CvtHex(HA1, a1); + |