gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib/login


From: gsasl-commit
Subject: CVS gsasl/lib/login
Date: Wed, 15 Dec 2004 00:08:29 +0100

Update of /home/cvs/gsasl/lib/login
In directory dopio:/tmp/cvs-serv2042

Modified Files:
        server.c 
Log Message:
Invert password validation logic, tiny patch from Sergey Poznyakoff
<address@hidden>.


--- /home/cvs/gsasl/lib/login/server.c  2004/10/31 19:29:50     1.7
+++ /home/cvs/gsasl/lib/login/server.c  2004/12/14 23:08:29     1.8
@@ -116,7 +116,7 @@
       gsasl_property_set (sctx, GSASL_PASSWORD, state->password);
 
       res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_SIMPLE);
-      if (res != GSASL_CANNOT_VALIDATE)
+      if (res == GSASL_CANNOT_VALIDATE)
        {
          const char *key;
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]