From 52221daa7d85ea84d56901faf36f7097ddf977df Mon Sep 17 00:00:00 2001
From: Matthew Harmsen <mharmsen@redhat.com>
Date: Fri, 2 Dec 2011 14:50:42 -0800
Subject: [PATCH] Bug 757848 - fixes sporadic blank line in DRMTool

---
 .../src/com/netscape/cmstools/DRMTool.java         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pki/base/java-tools/src/com/netscape/cmstools/DRMTool.java b/pki/base/java-tools/src/com/netscape/cmstools/DRMTool.java
index 625532330d54aefb28207d61d86cf9758a3f7f9f..20dfb42efc34049ec7de34adfdf066722936af06 100644
--- a/pki/base/java-tools/src/com/netscape/cmstools/DRMTool.java
+++ b/pki/base/java-tools/src/com/netscape/cmstools/DRMTool.java
@@ -2147,7 +2147,7 @@ public class DRMTool
             }
         }
 
-        return revised_data;
+        return revised_data.replaceAll( "\\s+$", "" );
     }
 
 
-- 
1.7.7.1

