summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-11-12 17:50:30 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-12 17:50:30 (GMT)
commit4cca59f3c272d19b02e3a4a8ff4a1007fdfd65cf (patch)
tree0f7cf05a0f747cdf6cdd0af9ed34f4093eb7be2c /Swiften/TLS/OpenSSL/OpenSSLCertificate.h
parent4f0feab0c23284f419270b3d82e04038277a0d91 (diff)
downloadswift-4cca59f3c272d19b02e3a4a8ff4a1007fdfd65cf.zip
swift-4cca59f3c272d19b02e3a4a8ff4a1007fdfd65cf.tar.bz2
Add Windows trust anchors to OpenSSL context.
Diffstat (limited to 'Swiften/TLS/OpenSSL/OpenSSLCertificate.h')
-rw-r--r--Swiften/TLS/OpenSSL/OpenSSLCertificate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/TLS/OpenSSL/OpenSSLCertificate.h b/Swiften/TLS/OpenSSL/OpenSSLCertificate.h
index ad16081..2255826 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLCertificate.h
+++ b/Swiften/TLS/OpenSSL/OpenSSLCertificate.h
@@ -40,6 +40,10 @@ namespace Swift {
ByteArray toDER() const;
+ boost::shared_ptr<X509> getInternalX509() const {
+ return cert;
+ }
+
private:
void parse();