Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void init(File location, PasswordFinder pwdf) {

@Override
public void init(String privateKey, String publicKey, PasswordFinder pwdf) {
if (pubKey != null) {
if (publicKey != null) {
try {
initPubKey(new StringReader(publicKey));
} catch (IOException e) {
Expand All @@ -133,7 +133,7 @@ public void init(String privateKey, String publicKey, PasswordFinder pwdf) {

@Override
public void init(Reader privateKey, Reader publicKey, PasswordFinder pwdf) {
if (pubKey != null) {
if (publicKey != null) {
try {
initPubKey(publicKey);
} catch (IOException e) {
Expand Down