2
0

Harmonize log methods by removing trailing \n.

This commit is contained in:
Maarten Billemont
2018-03-24 15:14:41 -04:00
parent 035bb6b285
commit a1f5e0ba1c
14 changed files with 181 additions and 193 deletions

View File

@@ -32,7 +32,7 @@ int main(int argc, char *const argv[]) {
xmlNodePtr tests = xmlDocGetRootElement( xmlParseFile( "mpw_tests.xml" ) );
if (!tests) {
ftl( "Couldn't find test case: mpw_tests.xml\n" );
ftl( "Couldn't find test case: mpw_tests.xml" );
abort();
}
@@ -60,7 +60,7 @@ int main(int argc, char *const argv[]) {
do {
fprintf( stdout, "test case %s... ", id );
if (!xmlStrlen( result )) {
fprintf( stdout, "abstract.\n" );
fprintf( stdout, "abstract." );
continue;
}
@@ -68,7 +68,7 @@ int main(int argc, char *const argv[]) {
MPMasterKey masterKey = mpw_masterKey(
(char *)fullName, (char *)masterPassword, algorithm );
if (!masterKey) {
ftl( "Couldn't derive master key.\n" );
ftl( "Couldn't derive master key." );
abort();
}
@@ -85,7 +85,7 @@ int main(int argc, char *const argv[]) {
masterKey, (char *)siteName, siteCounter, keyPurpose, (char *)keyContext, resultType, NULL, algorithm );
mpw_free( &masterKey, MPMasterKeySize );
if (!testResult) {
ftl( "Couldn't derive site password.\n" );
ftl( "Couldn't derive site password." );
continue;
}