[xml-security-c] 13/23: Fix indentation 2
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Thu Jul 21 20:15:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to branch patch-queue/master
in repository xml-security-c.
commit bcf40eefde49aed479944bc1a1b23ff60f192a98
Author: Ferenc Wágner <wferi at niif.hu>
Date: Sun Jan 31 00:40:44 2016 +0100
Fix indentation 2
---
xsec/xkms/impl/XKMSRegisterResultImpl.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xsec/xkms/impl/XKMSRegisterResultImpl.cpp b/xsec/xkms/impl/XKMSRegisterResultImpl.cpp
index d51f2ef..36bc0ee 100644
--- a/xsec/xkms/impl/XKMSRegisterResultImpl.cpp
+++ b/xsec/xkms/impl/XKMSRegisterResultImpl.cpp
@@ -324,8 +324,8 @@ XENCEncryptedData * XKMSRegisterResultImpl::setRSAKeyPair(const char * passPhras
}
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 * XKMSRegisterResultImpl::setRSAKeyPair(const char * passPhras
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(
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git
More information about the Pkg-shibboleth-devel
mailing list