gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib/digest-md5


From: gsasl-commit
Subject: CVS gsasl/lib/digest-md5
Date: Sun, 19 Dec 2004 03:13:37 +0100

Update of /home/cvs/gsasl/lib/digest-md5
In directory dopio:/tmp/cvs-serv30896

Modified Files:
        server.c client.c 
Log Message:
Use new API.


--- /home/cvs/gsasl/lib/digest-md5/server.c     2004/12/15 01:11:56     1.14
+++ /home/cvs/gsasl/lib/digest-md5/server.c     2004/12/19 02:13:37     1.15
@@ -399,7 +399,8 @@
 
        subopts = zinput;
        while (*subopts != '\0')
-         switch (_gsasl_getsubopt (&subopts, digest_response_opts, &value))
+         switch (digest_md5_getsubopt (&subopts, digest_response_opts,
+                                       &value))
            {
            case RESPONSE_USERNAME:
              if (username != NULL)
--- /home/cvs/gsasl/lib/digest-md5/client.c     2004/12/15 01:02:13     1.12
+++ /home/cvs/gsasl/lib/digest-md5/client.c     2004/12/19 02:13:37     1.13
@@ -188,7 +188,8 @@
 
        subopts = zinput;
        while (*subopts != '\0')
-         switch (_gsasl_getsubopt (&subopts, digest_challenge_opts, &value))
+         switch (digest_md5_getsubopt (&subopts, digest_challenge_opts,
+                                       &value))
            {
            case CHALLENGE_REALM:
              if (nrealm == 0)
@@ -221,7 +222,7 @@
                state->qop = 0;
                subsubopts = value;
                while (*subsubopts != '\0')
-                 switch (_gsasl_getsubopt (&subsubopts, qop_opts, &val))
+                 switch (digest_md5_getsubopt (&subsubopts, qop_opts, &val))
                    {
                    case QOP_AUTH_OPTION:
                      state->qop |= GSASL_QOP_AUTH;
@@ -300,7 +301,7 @@
 
                subsubopts = value;
                while (*subsubopts != '\0')
-                 switch (_gsasl_getsubopt (&subsubopts, cipher_opts, &val))
+                 switch (digest_md5_getsubopt (&subsubopts, cipher_opts, &val))
                    {
                    case CIPHER_DES_OPTION:
                      state->cipher |= GSASL_CIPHER_DES;
@@ -754,8 +755,8 @@
        res = GSASL_AUTHENTICATION_ERROR;
        subopts = zinput;
        while (*subopts != '\0')
-         switch (_gsasl_getsubopt (&subopts,
-                                   digest_responseauth_opts, &value))
+         switch (digest_md5_getsubopt (&subopts,
+                                       digest_responseauth_opts, &value))
            {
            case RESPONSEAUTH_RSPAUTH:
              res = _gsasl_digest (output + outlen, state->secret,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]