[Date Prev][Date Next] [Chronological] [Thread] [Top]

SASL result code (ITS#630)



Looking at the new SASL code that is available in the 2.0 Beta tree. Looks
like a lot of good work was put into it.  I noticed was a result code from
the interact routine was not being checked correctly in

    libraries/libldap/cyrus.c


Here's the 10 cent patch, below.


-Mark Adamson
 Carnegie Mellon



---
./libraries/libldap/cyrus.c.old
Wed Jul 19 01:44:06 2000
+++ cyrus.c     Wed Jul 19 15:58:44 2000
@@ -578,7 +578,7 @@
                        if( saslrc == SASL_INTERACT ) {
                                int res;
                                if( !interact ) break;
-                               rc = (interact)( ld, flags, defaults, prompts );
+                               res = (interact)( ld, flags, defaults, prompts );
                                if( res != LDAP_SUCCESS ) {
                                        break;
                                }