Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
xmltooling.29631
0011-CPPXT-110-Clean-up-some-collateral-damage-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0011-CPPXT-110-Clean-up-some-collateral-damage-from-previ.patch of Package xmltooling.29631
From c11212e5518454d9995e1c06f5defd2399df0596 Mon Sep 17 00:00:00 2001 From: Rod Widdowson <rdw@steadingsoftware.com> Date: Tue, 1 Nov 2016 16:33:10 +0000 Subject: [PATCH 11/31] CPPXT-110 Clean up some collateral damage from previous checkin https://issues.shibboleth.net/jira/browse/CPPXT-110 Remove debugging printf that had escaped into the wild in SignatureTest. Change FilesystemCredentialResolverTest to reflect that there are three credentials in the test file. --- xmltoolingtest/FilesystemCredentialResolverTest.h | 2 +- xmltoolingtest/SignatureTest.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/xmltoolingtest/FilesystemCredentialResolverTest.h b/xmltoolingtest/FilesystemCredentialResolverTest.h index 365c741..534f293 100644 --- a/xmltoolingtest/FilesystemCredentialResolverTest.h +++ b/xmltoolingtest/FilesystemCredentialResolverTest.h @@ -48,7 +48,7 @@ public: vector<const Credential*> creds; Locker locker(credResolver.get()); credResolver->resolve(creds); - TSM_ASSERT_EQUALS("Retrieved credential was null", 1, creds.size()); + TSM_ASSERT_EQUALS("Retrieved credential was null", 3, creds.size()); TSM_ASSERT("Retrieved key was null", creds.front()->getPrivateKey()!=nullptr); TSM_ASSERT_EQUALS("Unexpected number of certificates", 1, dynamic_cast<const X509Credential*>(creds.front())->getEntityCertificateChain().size()); diff --git a/xmltoolingtest/SignatureTest.h b/xmltoolingtest/SignatureTest.h index 718caf8..323c5fe 100644 --- a/xmltoolingtest/SignatureTest.h +++ b/xmltoolingtest/SignatureTest.h @@ -167,8 +167,6 @@ public: bool worked = dsaCred->verifyBase64Signature(toSign, sizeof(toSign), &outSig[0], len); TSM_ASSERT("DSA Round Trip Signature Failed", worked); - fprintf(stderr, "\n\n%s\n\n0x%x\n\n", outSig, len); - char knownGoodSig[] = "bjl/jCGFdRgs0Ar5DKQkE9jPZFSXU5Wm2SKMzur4TSzoQmTe82WC8A==\012"; unsigned int knownGoodSigSize=0x39; -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor