Changeset: 038b8a6184d2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=038b8a6184d2
Modified Files:
        monetdb5/mal/mal_authorize.c
Branch: embedded
Log Message:

fix password checks


diffs (17 lines):

diff --git a/monetdb5/mal/mal_authorize.c b/monetdb5/mal/mal_authorize.c
--- a/monetdb5/mal/mal_authorize.c
+++ b/monetdb5/mal/mal_authorize.c
@@ -847,12 +847,11 @@ AUTHverifyPassword(str *passwd)
                                        "representation of an MD5 password 
hash?");
        } else
 #endif
-       len++; // required in case all the checks above are false
        {
                throw(MAL, "verifyPassword", "Unknown backend hash algorithm: 
%s",
                                MONETDB5_PASSWDHASH);
        }
-
+       len++; // required in case all the checks above are false
        while (*p != '\0') {
                if (!((*p >= 'a' && *p <= 'z') || (*p >= '0' && *p <= '9')))
                        throw(MAL, "verifyPassword",
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to