summaryrefslogtreecommitdiffstats
path: root/base/util/src
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2012-05-29 14:53:35 -0400
committerAde Lee <alee@redhat.com>2012-06-01 09:37:01 -0400
commit500fe4441a5d458818138cc9b536c3b19ac23dc8 (patch)
treef2f8897fdbbeda4d73b728dd472ab36452f8cddd /base/util/src
parent2588e04ce15d8ce932900cb7b5d75e894082db46 (diff)
downloadpki-500fe4441a5d458818138cc9b536c3b19ac23dc8.tar.gz
pki-500fe4441a5d458818138cc9b536c3b19ac23dc8.tar.xz
pki-500fe4441a5d458818138cc9b536c3b19ac23dc8.zip
Patch with fixes for review comments 0529
Diffstat (limited to 'base/util/src')
-rw-r--r--base/util/src/netscape/security/extensions/GenericASN1Extension.java2
-rw-r--r--base/util/src/netscape/security/pkcs/PKCS7.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/base/util/src/netscape/security/extensions/GenericASN1Extension.java b/base/util/src/netscape/security/extensions/GenericASN1Extension.java
index 80617869c..78d294573 100644
--- a/base/util/src/netscape/security/extensions/GenericASN1Extension.java
+++ b/base/util/src/netscape/security/extensions/GenericASN1Extension.java
@@ -272,7 +272,7 @@ public class GenericASN1Extension extends Extension
*/
@Override
public String toString() {
- return super.toString();
+ return (null);
}
/**
diff --git a/base/util/src/netscape/security/pkcs/PKCS7.java b/base/util/src/netscape/security/pkcs/PKCS7.java
index 4ecb2966c..4bedc06fe 100644
--- a/base/util/src/netscape/security/pkcs/PKCS7.java
+++ b/base/util/src/netscape/security/pkcs/PKCS7.java
@@ -72,7 +72,7 @@ public class PKCS7 {
int len = 0;
byte[] newbuf = new byte[len];
byte[] oldbuf = new byte[len];
- byte[] data;
+ byte[] data = new byte[len];
do {
newbuf = new byte[dis.available()];