diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-12 17:50:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-12 17:50:30 (GMT) |
commit | 4cca59f3c272d19b02e3a4a8ff4a1007fdfd65cf (patch) | |
tree | 0f7cf05a0f747cdf6cdd0af9ed34f4093eb7be2c /Swiften/TLS/OpenSSL/OpenSSLCertificate.h | |
parent | 4f0feab0c23284f419270b3d82e04038277a0d91 (diff) | |
download | swift-contrib-4cca59f3c272d19b02e3a4a8ff4a1007fdfd65cf.zip swift-contrib-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.h | 4 |
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(); |