summaryrefslogtreecommitdiff
blob: b0475f9cb900e5dcc4e79e79596241f2fdedae5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- ws-jaxme-0.3.1/buildjm.xml.orig	2006-07-30 18:46:21.000000000 +0200
+++ ws-jaxme-0.3.1/buildjm.xml	2006-07-30 19:04:24.000000000 +0200
@@ -54,6 +54,7 @@
       <pathelement location="${preqs}/ant.jar"/>
       <pathelement location="${preqs}/xml-apis.jar"/>
       <pathelement location="${preqs}/xercesImpl.jar"/>
+      <pathelement location="${preqs}/gnu-crypto.jar"/>
     </path>
 
     <path id="jaxme.runtime.path">
--- ws-jaxme-0.3.1/src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java.orig	2006-07-30 18:49:11.000000000 +0200
+++ ws-jaxme-0.3.1/src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java	2006-07-30 19:02:54.000000000 +0200
@@ -18,8 +18,7 @@
 
 import java.io.IOException;
 
-import sun.misc.BASE64Decoder;
-import sun.misc.BASE64Encoder;
+import gnu.crypto.util.Base64;
 
 
 /**
@@ -33,11 +32,11 @@
   }
 
   public static byte[] decode(String pValue) throws IOException {
-    return (new BASE64Decoder()).decodeBuffer(pValue);
+    return Base64.decode(pValue);
   }
 
   public static String encode(byte[] pValue) {
-    return (new BASE64Encoder()).encode(pValue);
+    return Base64.encode(pValue);
   }
 
   public static void main(String[] args) throws Exception {