[mod_auth_mysql/f15] Bug 708287 - mod_auth_mysql.so: undefined symbol: make_scrambled_password

Ján ONDREJ ondrejj at fedoraproject.org
Wed Jun 8 19:59:31 UTC 2011


commit b551df0266ab608f72c85015e5597323e114f76a
Author: Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date:   Wed Jun 8 21:58:47 2011 +0200

    Bug 708287 - mod_auth_mysql.so: undefined symbol: make_scrambled_password

 mod_auth_mysql_make_scrambled_password.patch |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/mod_auth_mysql_make_scrambled_password.patch b/mod_auth_mysql_make_scrambled_password.patch
new file mode 100644
index 0000000..efbdcbc
--- /dev/null
+++ b/mod_auth_mysql_make_scrambled_password.patch
@@ -0,0 +1,18 @@
+--- mod_auth_mysql-3.0.0/mod_auth_mysql.c.scrambled	2011-06-08 21:12:49.900889087 +0200
++++ mod_auth_mysql-3.0.0/mod_auth_mysql.c	2011-06-08 21:48:32.261118852 +0200
+@@ -808,12 +808,14 @@
+ /* Checks scrambled passwords */
+ static short pw_scrambled(POOL * pool, const char * real_pw, const char * sent_pw, const char * salt) {
+   char * encrypted_sent_pw = PCALLOC(pool, SCRAMBLED_PASSWORD_CHAR_LENGTH+1);
++  void my_make_scrambled_password(char *to, const char *password,                 
++                                  size_t pass_len);
+ #ifdef SCRAMBLED_PASSWORD_CHAR_LENGTH_323   /* If we may need to use old password */
+   if (real_pw[0] != '*')
+     make_scrambled_password_323(encrypted_sent_pw, sent_pw);
+   else
+ #endif
+-    make_scrambled_password(encrypted_sent_pw, sent_pw);
++    my_make_scrambled_password(encrypted_sent_pw, sent_pw, strlen(sent_pw));
+   return strcmp(real_pw, encrypted_sent_pw) == 0;
+ }
+ 


More information about the scm-commits mailing list