]> git.0d.be Git - empathy.git/commit
tls-test: Use a proper PKCS#11 mock module for testing
authorStef Walter <stefw@gnome.org>
Thu, 19 Apr 2012 05:56:49 +0000 (07:56 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 19 Apr 2012 14:43:19 +0000 (16:43 +0200)
commitb0de75186e8e529e427aae231b334a3e40e5bffd
tree52897c323888ffd56eef648b10d26f7a92da9924
parent7c25066261498dd98fb6bd1260ffe12f2fb5b7ce
tls-test: Use a proper PKCS#11 mock module for testing

 * 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
libempathy/empathy-tls-verifier.c
tests/Makefile.am
tests/certificates/collabora-ca.cer [new file with mode: 0644]
tests/certificates/collabora-ca/collabora-ca.cer [deleted file]
tests/empathy-tls-test.c
tests/mock-pkcs11.c [new file with mode: 0644]
tests/mock-pkcs11.h [new file with mode: 0644]