diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/openssl/MiscPEMGenerator.java')
-rw-r--r-- | src/main/java/org/bouncycastle/openssl/MiscPEMGenerator.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/bouncycastle/openssl/MiscPEMGenerator.java b/src/main/java/org/bouncycastle/openssl/MiscPEMGenerator.java index 5741993f..488b9282 100644 --- a/src/main/java/org/bouncycastle/openssl/MiscPEMGenerator.java +++ b/src/main/java/org/bouncycastle/openssl/MiscPEMGenerator.java @@ -51,7 +51,8 @@ public class MiscPEMGenerator public MiscPEMGenerator(Object o) { - this(o, null); + this.obj = o; // use of this confuses some earlier JDKs. + this.encryptor = null; } public MiscPEMGenerator(Object o, PEMEncryptor encryptor) |