diff options
Diffstat (limited to 'xmlsecurity/tools/demo/verifydemo.cxx')
-rw-r--r-- | xmlsecurity/tools/demo/verifydemo.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlsecurity/tools/demo/verifydemo.cxx b/xmlsecurity/tools/demo/verifydemo.cxx index 2ea9c8d94a94..c41d8bd4486d 100644 --- a/xmlsecurity/tools/demo/verifydemo.cxx +++ b/xmlsecurity/tools/demo/verifydemo.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,7 +44,7 @@ long startVerifyHandler( void *, void * ) int SAL_CALL main( int argc, char **argv ) { - if( argc < 2 ) + if( argc < 2 ) { fprintf( stderr, "Usage: %s <signature file> [<cryptoken>]\n" , argv[0] ) ; return -1 ; @@ -57,7 +57,7 @@ int SAL_CALL main( int argc, char **argv ) uno::Reference< lang::XMultiServiceFactory > xMSF = CreateDemoServiceFactory(); - + /* * creates a signature helper */ @@ -85,12 +85,12 @@ int SAL_CALL main( int argc, char **argv ) */ uno::Reference< io::XInputStream > xInputStream = OpenInputStream( aSIGFileName ); bool bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); - + /* * closes the signature stream */ xInputStream->closeInput(); - + if ( !bDone ) { fprintf( stderr, "\nSTATUS: Error verifying Signature!\n" ); |