[Spice-devel] [PATCH 6/7] Call correct SASL helper in reds_handle_auth_sasl_step

Christophe Fergeau cfergeau at redhat.com
Mon Mar 17 06:20:40 PDT 2014


sasl_handle_auth_start() was called instead of reds_sasl_handle_auth_step()
---
 server/reds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/reds.c b/server/reds.c
index c1c0efc..fb2a19b 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1901,7 +1901,7 @@ static void reds_handle_auth_sasl_step(void *opaque)
     RedLinkInfo *link = (RedLinkInfo *)opaque;
     RedsSaslError status;
 
-    status = reds_sasl_handle_auth_start(link->stream, reds_handle_auth_sasl_steplen, link);
+    status = reds_sasl_handle_auth_step(link->stream, reds_handle_auth_sasl_steplen, link);
     if (status == REDS_SASL_ERROR_OK) {
         reds_handle_link(link);
     } else if (status != REDS_SASL_ERROR_CONTINUE) {
-- 
1.8.5.3



More information about the Spice-devel mailing list