gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r12190 - libmicrohttpd/doc/examples


From: gnunet
Subject: [GNUnet-SVN] r12190 - libmicrohttpd/doc/examples
Date: Fri, 9 Jul 2010 13:11:00 +0200

Author: grothoff
Date: 2010-07-09 13:11:00 +0200 (Fri, 09 Jul 2010)
New Revision: 12190

Modified:
   libmicrohttpd/doc/examples/tlsauthentication.c
Log:
fix

Modified: libmicrohttpd/doc/examples/tlsauthentication.c
===================================================================
--- libmicrohttpd/doc/examples/tlsauthentication.c      2010-07-09 10:24:11 UTC 
(rev 12189)
+++ libmicrohttpd/doc/examples/tlsauthentication.c      2010-07-09 11:11:00 UTC 
(rev 12190)
@@ -163,10 +163,10 @@
   strcat (expected, password);
 
   expected_b64 = string_to_base64 (expected);
+  free (expected);
   if (NULL == expected_b64)
     return 0;
 
-  strcpy (expected, strbase);
   authenticated =
     (strcmp (headervalue + strlen (strbase), expected_b64) == 0);
 




reply via email to

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