aboutsummaryrefslogtreecommitdiffstats
path: root/tests/empathy-tls-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Use TpTpTLSCertificateGuillaume Desmottes2012-05-101-28/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674318
* tls-test: Use a proper PKCS#11 mock module for testingStef Walter2012-04-191-42/+115
| | | | | | | | | | | * In empathy-tls-test.c use a proper PKCS#11 mock module, which we can place certificate anchors and pinned certificates in. * Fix EmpathyTlsVerifier to check for server trust assertions not client ones, this was a bug highlighted by fixing tests. https://bugzilla.gnome.org/show_bug.cgi?id=668186 https://bugzilla.gnome.org/show_bug.cgi?id=668261
* empathy-tls-test: use g_assert_(no_)error()Guillaume Desmottes2012-01-191-22/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668186
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-2/+2
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Fix calls to empathy_tls_verifier_new() in tests.Stef Walter2011-03-231-11/+76
|
* tests: Fix memory leak of dbus connectionStef Walter2010-12-241-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3
* libempathy, tests: Wrap new function arguments properly.Stef Walter2010-12-241-11/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3
* tests: Lookup the pkcs11 standalone directory at run time.Stef Walter2010-12-241-1/+20
| | | | | Rather than cluttering up configure, lookup the relevant directory at runtime.
* test: Add tests which load PKCS#11 modules for TLS verification.Stef Walter2010-12-241-45/+234
| | | | | | Add various tests which load gnome-keyring PKCS#11 modules and use them in the TLS verification. These are the standalone versions of the builtin gnome-keyring PKCS#11 modules.
* tests: Add test for basic verification.Stef Walter2010-12-241-13/+47
| | | | | This test depends on the certificates you have in gnome-keyring, will fix this dependency in later commits.
* tests: Add mock object and test infrastructure for testing tls.Stef Walter2010-12-241-0/+356
Create a mock o.f.T.Authentication.TLSCertificate object and connect to it in various tests. Loads certificate data from certificates/ subdir