[Webfunds-commits] java/webfunds/sox Encodable.java

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Mon, 7 Aug 2000 20:16:55 -0400 (AST)


gelderen    00/08/07 20:16:55

  Modified:    webfunds/sox Encodable.java
  Log:
  Fix bug where Encodable.writeByteArray was accidentally replaced with a
  dos.write(cert.getEncoded()).

Revision  Changes    Path
1.24      +2 -2      java/webfunds/sox/Encodable.java

Index: Encodable.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/Encodable.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Encodable.java	2000/08/05 13:05:39	1.23
+++ Encodable.java	2000/08/08 00:16:55	1.24
@@ -1,5 +1,5 @@
 /*
- * $Id: Encodable.java,v 1.23 2000/08/05 13:05:39 iang Exp $
+ * $Id: Encodable.java,v 1.24 2000/08/08 00:16:55 gelderen Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -231,7 +231,7 @@
         throws IOException
     {
         try {
-            dos.write(cert.getEncoded());
+            writeByteArray(dos, cert.getEncoded());
         } catch(CertificateEncodingException e) {
             throw new IOException(e.toString());
         }