diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-03-18 18:59:02 +0800 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-03-18 18:59:02 +0800 |
commit | 3b10103f06517cd7bfbb1576daadaf4855b800a2 (patch) | |
tree | 7b9d0c12a74a876dad6e87d2a22dacfc405c7437 /libempathy/empathy-tls-verifier.h | |
parent | 00f27e9c52f494cad1b36e0e106a129e884ac428 (diff) | |
download | gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.tar gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.tar.gz gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.tar.bz2 gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.tar.lz gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.tar.xz gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.tar.zst gsoc2013-empathy-3b10103f06517cd7bfbb1576daadaf4855b800a2.zip |
Use ServerTLSConnection.ReferenceIdentities to check cert identity.
The certificate identity can be checked against more than just
one piece of information. Load and use all the reference identities
to check the identity of the certificate.
https://bugzilla.gnome.org/show_bug.cgi?id=645119
Diffstat (limited to 'libempathy/empathy-tls-verifier.h')
-rw-r--r-- | libempathy/empathy-tls-verifier.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tls-verifier.h b/libempathy/empathy-tls-verifier.h index e333bc81e..436149336 100644 --- a/libempathy/empathy-tls-verifier.h +++ b/libempathy/empathy-tls-verifier.h @@ -62,7 +62,8 @@ GType empathy_tls_verifier_get_type (void); EmpathyTLSVerifier * empathy_tls_verifier_new ( EmpathyTLSCertificate *certificate, - const gchar *hostname); + const gchar *hostname, + const gchar **reference_identities); void empathy_tls_verifier_verify_async (EmpathyTLSVerifier *self, GAsyncReadyCallback callback, |