activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgoody...@apache.org
Subject activemq-cpp git commit: [AMQCPP-619] Replace tabs with single spaces
Date Fri, 07 Dec 2018 15:16:46 GMT
Repository: activemq-cpp
Updated Branches:
  refs/heads/master fecb4bf97 -> d15d9dc83


[AMQCPP-619] Replace tabs with single spaces


Project: http://git-wip-us.apache.org/repos/asf/activemq-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-cpp/commit/d15d9dc8
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/d15d9dc8
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/d15d9dc8

Branch: refs/heads/master
Commit: d15d9dc838190818d34d88c5ae5919aabd8a2418
Parents: fecb4bf
Author: jgoodyear <jgoodyear@apache.org>
Authored: Fri Dec 7 11:46:30 2018 -0330
Committer: jgoodyear <jgoodyear@apache.org>
Committed: Fri Dec 7 11:46:30 2018 -0330

----------------------------------------------------------------------
 .../main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/d15d9dc8/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp b/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp
index 75ef6f5..25947aa 100644
--- a/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp
+++ b/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp
@@ -356,11 +356,11 @@ void OpenSSLSocket::startHandshake() {
                 // Since we are a client we want to enforce peer verification, we set a
                 // callback so we can collect data on why a verify failed for debugging.
                 if (!peerVerifyDisabled) {
-					// Check host https://wiki.openssl.org/index.php/Hostname_validation
-					X509_VERIFY_PARAM *param = SSL_get0_param(this->parameters->getSSL());
+                                        // Check host https://wiki.openssl.org/index.php/Hostname_validation
+                                        X509_VERIFY_PARAM *param = SSL_get0_param(this->parameters->getSSL());
 
-					X509_VERIFY_PARAM_set_hostflags(param, X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
-					X509_VERIFY_PARAM_set1_host(param, this->data->commonName.c_str(), 0);
+                                        X509_VERIFY_PARAM_set_hostflags(param, X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
+                                        X509_VERIFY_PARAM_set1_host(param, this->data->commonName.c_str(),
0);
 
                     SSL_set_verify(this->parameters->getSSL(), SSL_VERIFY_PEER, SocketData::verifyCallback);
                 } else {
@@ -382,7 +382,7 @@ void OpenSSLSocket::startHandshake() {
                 case SSL_ERROR_SSL:
                 case SSL_ERROR_ZERO_RETURN:
                 case SSL_ERROR_SYSCALL:
-				default:
+                               default:
                     SSLSocket::close();
                     throw OpenSSLSocketException(__FILE__, __LINE__);
                 }


Mime
View raw message