[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/anonymous
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/anonymous |
Date: |
Sun, 02 Jan 2005 00:29:46 +0100 |
Update of /home/cvs/gsasl/lib/anonymous
In directory dopio:/tmp/cvs-serv25674
Modified Files:
server.c
Log Message:
Add comments.
--- /home/cvs/gsasl/lib/anonymous/server.c 2005/01/01 22:32:22 1.9
+++ /home/cvs/gsasl/lib/anonymous/server.c 2005/01/01 23:29:46 1.10
@@ -36,9 +36,12 @@
*output = NULL;
*output_len = 0;
+ /* token = 1*255TCHAR */
if (input_len == 0)
return GSASL_NEEDS_MORE;
+ /* FIXME: Validate that input is UTF-8. */
+
gsasl_property_set_raw (sctx, GSASL_ANONYMOUS_TOKEN, input, input_len);
return gsasl_callback (NULL, sctx, GSASL_VALIDATE_ANONYMOUS);