diff --git a/src/com/verisignlabs/dnssec/security/BINDKeyUtils.java b/src/com/verisignlabs/dnssec/security/BINDKeyUtils.java index 2309973..6345a17 100644 --- a/src/com/verisignlabs/dnssec/security/BINDKeyUtils.java +++ b/src/com/verisignlabs/dnssec/security/BINDKeyUtils.java @@ -118,7 +118,8 @@ public class BINDKeyUtils key_buf.append(line); key_buf.append('\n'); } - + in.close(); + return key_buf.toString().trim(); }