Hi Paul,
>> and added this:
>> #include "util_md5.h"       /* for ap_md5 */

> added.
sorry sorry, I didnt backtest on NetWare after inserting util_md5.h on Win32, but now 
an additional cast is necessary to make our compiler happy:

-                mysql_hash = (char *) ap_md5(r->pool, apr_pstrcat(r->pool, user, ":", 
realm, ":", mysql_pass));
+                mysql_hash = (char *) ap_md5(r->pool, (const unsigned 
+char*)apr_pstrcat(r->pool, user, ":", realm, ":", mysql_pass));

with this it now compiles fine on NetWare and Win32 (only 3 warnings about unused var 
remains, patch attached)...

only missing symbols now prevent from successful linking on Win32...

Guenter.

Attachment: mod_authn_mysql-0.0.6.c.patch
Description: Binary data

Reply via email to