[Webfunds-commits] java/webfunds/client/contracts/wizard FinishSig.java

Edwin Woudt edwin@cypherpunks.ai
Mon, 28 Aug 2000 13:56:30 -0400 (AST)


edwin       00/08/28 13:56:30

  Modified:    webfunds/client/contracts/wizard FinishSig.java
  Log:
  Remove trailing spaces on the saved unsigned contract.

Revision  Changes    Path
1.12      +3 -3      java/webfunds/client/contracts/wizard/FinishSig.java

Index: FinishSig.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/FinishSig.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- FinishSig.java	2000/08/28 13:35:58	1.11
+++ FinishSig.java	2000/08/28 17:56:30	1.12
@@ -1,5 +1,5 @@
 /*
- * $Id: FinishSig.java,v 1.11 2000/08/28 13:35:58 edwin Exp $
+ * $Id: FinishSig.java,v 1.12 2000/08/28 17:56:30 edwin Exp $
  *
  * Copyright (c) Systemics Inc 2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -15,7 +15,6 @@
 import cryptix.openpgp.PGPWrongPassphraseException;
 import cryptix.openpgp.util.PGPArmoury;
 
-
 import java.io.DataOutputStream;
 import java.io.File;
 import java.io.FileOutputStream;
@@ -37,7 +36,7 @@
  * Panel that does the actual signing.
  *
  * @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
  */
 
 public class FinishSig extends SignContractWizardPanel
@@ -366,6 +365,7 @@
 
         // write the unsigned contract
         String unsignedName = txtFileUnsigned.getText();
+        all = PGPArmoury.canonicalize(all);
         tryWriting(unsignedName, "unsigned contract", all);
 
         // prepare and sign contract