[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: |
Thu, 23 Sep 2004 03:14:10 +0200 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv17060/lib/src
Modified Files:
callback.c common.c
Log Message:
Make SECURID server use new APIs.
--- /home/cvs/gsasl/lib/src/callback.c 2004/09/20 23:30:23 1.8
+++ /home/cvs/gsasl/lib/src/callback.c 2004/09/23 01:14:10 1.9
@@ -122,6 +122,9 @@
* session specific. */
Gsasl_server_callback_anonymous cb_anonymous;
Gsasl_server_callback_external cb_external;
+ Gsasl_server_callback_securid cb_securid;
+ char buf[BUFSIZ];
+ size_t buflen = BUFSIZ - 1;
int res;
switch (prop)
@@ -144,6 +147,17 @@
return res;
break;
+ case GSASL_SERVER_SECURID:
+ cb_securid = gsasl_server_callback_securid_get (sctx->ctx);
+ if (!cb_securid)
+ break;
+ res = cb_securid (sctx, sctx->authid, sctx->authzid, sctx->passcode,
+ sctx->pin, buf, &buflen);
+ buf[buflen] = '\0';
+ gsasl_property_set (sctx, GSASL_SUGGESTED_PIN, buf);
+ return res;
+ break;
+
default:
break;
}
--- /home/cvs/gsasl/lib/src/common.c 2004/09/23 00:49:14 1.22
+++ /home/cvs/gsasl/lib/src/common.c 2004/09/23 01:14:10 1.23
@@ -170,11 +170,11 @@
NULL,
NULL,
_gsasl_securid_server_start,
- _gsasl_securid_server_step,
NULL,
NULL,
NULL,
- NULL
+ NULL,
+ _gsasl_securid_server_step
#endif
}
},
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- 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/22
- CVS gsasl/lib/src, gsasl-commit, 2004/09/22
- CVS gsasl/lib/src, gsasl-commit, 2004/09/22
- CVS gsasl/lib/src,
gsasl-commit <=
- 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, 2004/09/23
- CVS gsasl/lib/src, gsasl-commit, 2004/09/23