[Top][All Lists]
[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: |
Tue, 30 Nov 2004 05:00:17 +0100 |
Update of /home/cvs/gsasl/lib/login
In directory dopio:/tmp/cvs-serv3247
Modified Files:
client.c
Log Message:
Don't even use SASLprep, SASLprep should be on server side.
--- /home/cvs/gsasl/lib/login/client.c 2004/11/30 03:58:12 1.7
+++ /home/cvs/gsasl/lib/login/client.c 2004/11/30 04:00:17 1.8
@@ -72,11 +72,8 @@
if (!p)
return GSASL_NO_AUTHID;
- res = gsasl_saslprep (p, GSASL_ALLOW_UNASSIGNED, output, NULL);
- if (res != GSASL_OK)
- return res;
-
- *output_len = strlen (*output);
+ *output = strdup (p);
+ *output_len = strlen (p);
state->step++;
res = GSASL_NEEDS_MORE;
@@ -87,10 +84,7 @@
if (!p)
return GSASL_NO_PASSWORD;
- res = gsasl_saslprep (p, GSASL_ALLOW_UNASSIGNED, output, NULL);
- if (res != GSASL_OK)
- return res;
-
+ *output = strdup (p);
*output_len = strlen (*output);
state->step++;