aqute-bnd/aqute-bnd-0.0.363-ambiguous-base64.patch
Jaromir Capik 0bb2986217 - Fixing ambiguous base64 class
- fix rhbz#991985
- add source compatibility with ant 1.9
- remove and rebuild from source aQute.runtime.jar
- update to current packaging guidelines
2014-05-09 19:15:32 +02:00

22 lines
1.1 KiB
Diff

diff -Naur aqute-bnd-0.0.363.orig/src/main/java/aQute/bnd/signing/Signer.java aqute-bnd-0.0.363/src/main/java/aQute/bnd/signing/Signer.java
--- aqute-bnd-0.0.363.orig/src/main/java/aQute/bnd/signing/Signer.java 2009-02-24 16:40:24.000000000 +0000
+++ aqute-bnd-0.0.363/src/main/java/aQute/bnd/signing/Signer.java 2014-05-09 16:57:46.400038213 +0000
@@ -119,7 +119,7 @@
if (algorithms[a] != null) {
byte[] digest = algorithms[a].digest(manbytes);
ps.print(digestNames[a] + "-Digest-Manifest: ");
- ps.print(new Base64(digest));
+ ps.print(new aQute.lib.base64.Base64(digest));
ps.print("\r\n");
}
}
@@ -142,7 +142,7 @@
if (algorithms[a] != null) {
byte[] digest = algorithms[a].digest();
String header = digestNames[a] + "-Digest: "
- + new Base64(digest) + "\r\n";
+ + new aQute.lib.base64.Base64(digest) + "\r\n";
out.write(header.getBytes());
}
}