summaryrefslogtreecommitdiff
path: root/libpurple/certificate.h
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2007-11-26 09:28:15 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2007-11-26 09:28:15 +0000
commit80fbac5f8640253143e7780ffffe7bb488157cb1 (patch)
treee951db6ff3234f3cdfa8a017847bb015453d5a8b /libpurple/certificate.h
parent0ec93758a6188e9bee1fcb1dd192db9b4a5d228e (diff)
downloadpidgin-80fbac5f8640253143e7780ffffe7bb488157cb1.tar.gz
Patch from Florian Qu?ze (the InstantBird dude) to add a search path for
certificates. Closes #3634. The original patch was to set the path purple searches for certificats. I changed it to allow for multiple search paths. This is similar to how purple searches for plugins in multiple paths.
Diffstat (limited to 'libpurple/certificate.h')
-rw-r--r--libpurple/certificate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpurple/certificate.h b/libpurple/certificate.h
index 20a000698d..16a3936a5b 100644
--- a/libpurple/certificate.h
+++ b/libpurple/certificate.h
@@ -786,6 +786,12 @@ purple_certificate_unregister_pool(PurpleCertificatePool *pool);
void
purple_certificate_display_x509(PurpleCertificate *crt);
+/**
+ * Add a search path for certificates.
+ *
+ * @param path Path to search for certificates.
+ */
+void purple_certificate_add_ca_search_path(const char *path);
#ifdef __cplusplus
}