[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Fri, 24 Sep 2004 03:29:54 +0200 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv8486/lib/src
Modified Files:
common.c xstart.c
Log Message:
Support NULL start mechanism functions.
Remove useless start functions.
--- /home/cvs/gsasl/lib/src/common.c 2004/09/24 00:48:22 1.28
+++ /home/cvs/gsasl/lib/src/common.c 2004/09/24 01:29:53 1.29
@@ -41,7 +41,7 @@
#ifdef USE_CLIENT
NULL,
NULL,
- _gsasl_anonymous_client_start,
+ NULL,
_gsasl_anonymous_client_step,
NULL,
NULL,
@@ -52,7 +52,7 @@
#ifdef USE_SERVER
NULL,
NULL,
- _gsasl_anonymous_server_start,
+ NULL,
_gsasl_anonymous_server_step,
NULL,
NULL,
--- /home/cvs/gsasl/lib/src/xstart.c 2004/09/24 00:48:22 1.5
+++ /home/cvs/gsasl/lib/src/xstart.c 2004/09/24 01:29:53 1.6
@@ -57,15 +57,19 @@
{
if (sctx->mech->client.start)
res = sctx->mech->client.start (sctx, &sctx->mech_data);
- else
+ else if (!sctx->mech->client.step)
res = GSASL_NO_CLIENT_CODE;
+ else
+ res = GSASL_OK;
}
else
{
if (sctx->mech->server.start)
res = sctx->mech->server.start (sctx, &sctx->mech_data);
- else
+ else if (!sctx->mech->server.step)
res = GSASL_NO_SERVER_CODE;
+ else
+ res = GSASL_OK;
}
if (res != GSASL_OK)
return res;
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/09/22
- CVS gsasl/lib/src, gsasl-commit, 2004/09/22
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/24
- CVS gsasl/lib/src, gsasl-commit, 2004/09/26
- CVS gsasl/lib/src, gsasl-commit, 2004/09/30