On 04/08/2011 03:56 PM, [email protected] wrote:
+    result_verify = aegis_crypto_verify (&signature,
+                                         token_name,
+                                         data,
+                                         strlen (data),
+&made_in_mode);
+
+    if (result_verify != aegis_crypto_ok) {
+        *token = NULL;
+        aegis_crypto_finish ();
+        g_free (data);
+        aegis_crypto_free (token_name);
+        return FALSE;
+    }

It's all OK, just swap the order of aegis_crypto_finish() and aegis_crypto_free() here. I think you'll also need to make some adjustments to the unit tests now, to make them run successfully with and without aegis-crypto.

Ciao,
  Alberto

--
http://blog.mardy.it <-- geek in un lingua international!
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to