aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-verifier.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-03-19 01:42:55 +0800
committerStef Walter <stefw@collabora.co.uk>2011-03-22 23:00:12 +0800
commit8b18f92aedef75ae557e879ddc4a60ce833d50d3 (patch)
tree9a2196c1fa0283a723112ed672d3a6edbb8631be /libempathy/empathy-tls-verifier.h
parent19d3ea612850bc3e2fabc387997e97ea11c89645 (diff)
downloadgsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.tar
gsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.tar.gz
gsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.tar.bz2
gsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.tar.lz
gsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.tar.xz
gsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.tar.zst
gsoc2013-empathy-8b18f92aedef75ae557e879ddc4a60ce833d50d3.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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tls-verifier.h b/libempathy/empathy-tls-verifier.h
index e73a71aeb..f61201f6e 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,