summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp')
-rw-r--r--Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp b/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp
index 16b0b2b..66b650d 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp
+++ b/Swiften/TLS/OpenSSL/OpenSSLCertificate.cpp
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2010-2016 Isode Limited. 2 * Copyright (c) 2010-2019 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -32,7 +32,7 @@ OpenSSLCertificate::OpenSSLCertificate(const ByteArray& der) {
32#endif 32#endif
33 cert = std::shared_ptr<X509>(d2i_X509(nullptr, &p, der.size()), X509_free); 33 cert = std::shared_ptr<X509>(d2i_X509(nullptr, &p, der.size()), X509_free);
34 if (!cert) { 34 if (!cert) {
35// SWIFT_LOG(warning) << "Error creating certificate from DER data" << std::endl; 35// SWIFT_LOG(warning) << "Error creating certificate from DER data";
36 } 36 }
37 parse(); 37 parse();
38} 38}