You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by sc...@apache.org on 2017/09/02 18:49:21 UTC

svn commit: r1807073 - /santuario/xml-security-cpp/trunk/xsec/xkms/impl/XKMSRegisterResultImpl.cpp

Author: scantor
Date: Sat Sep  2 18:49:21 2017
New Revision: 1807073

URL: http://svn.apache.org/viewvc?rev=1807073&view=rev
Log:
Indentation

Modified:
    santuario/xml-security-cpp/trunk/xsec/xkms/impl/XKMSRegisterResultImpl.cpp

Modified: santuario/xml-security-cpp/trunk/xsec/xkms/impl/XKMSRegisterResultImpl.cpp
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/xkms/impl/XKMSRegisterResultImpl.cpp?rev=1807073&r1=1807072&r2=1807073&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/xsec/xkms/impl/XKMSRegisterResultImpl.cpp (original)
+++ santuario/xml-security-cpp/trunk/xsec/xkms/impl/XKMSRegisterResultImpl.cpp Sat Sep  2 18:49:21 2017
@@ -324,8 +324,8 @@ XENCEncryptedData * XKMSRegisterResultIm
 		}
 		uri = algorithmSB.sbStrToXMLCh();
 	}
-    else
-        uri = algorithmURI;
+	else
+		uri = algorithmURI;
 
 	// Find if we can get an algorithm for this URI
 	XSECAlgorithmHandler *handler;
@@ -342,10 +342,10 @@ XENCEncryptedData * XKMSRegisterResultIm
 	unsigned char kbuf[XSEC_MAX_HASH_SIZE];
 	unsigned int len = CalculateXKMSKEK((unsigned char *) passPhrase, (int) strlen(passPhrase), kbuf, XSEC_MAX_HASH_SIZE);
 
-    if (len == 0) {
+	if (len == 0) {
 		throw XSECException(XSECException::XKMSError,
 			"XKMSRegisterResult::setRSAKeyPair - error deriving KEK");
-    }
+	}
 
 
 	XSECCryptoKey * sk = handler->createKeyForURI(