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 19:31:54 +0100

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

Modified Files:
        client.c 
Log Message:
Fix.


--- /home/cvs/gsasl/lib/digest-md5/client.c     2004/12/19 18:04:27     1.18
+++ /home/cvs/gsasl/lib/digest-md5/client.c     2004/12/19 18:31:54     1.19
@@ -39,6 +39,7 @@
 #include "printer.h"
 #include "free.h"
 #include "session.h"
+#include "digesthmac.h"
 
 /* Get uint32_t. */
 #include <netinet/in.h>
@@ -214,10 +215,8 @@
                              state->response.cipher,
                              state->kic, state->kis,
                              state->kcc, state->kcs);
-       if (rc != GSASL_OK)
-         return rc;
-
-       state->response.response[DIGEST_MD5_RESPONSE_LENGTH] = '\0';
+       if (rc)
+         return GSASL_CRYPTO_ERROR;
 
        *output = digest_md5_print_response (&state->response);
        if (*output)





reply via email to

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