[Libreoffice-commits] .: src/msocrypto.py

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Dec 17 14:59:28 PST 2012


 src/msocrypto.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8ada71b0a79ff223d3ccb09ed752709e844922d1
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Mon Dec 17 18:00:26 2012 -0500

    Print the whole xml content (plus the trailing garbage bytes).
    
    Right now we don't have a reliable way of discarding the trailing
    garbage bytes.

diff --git a/src/msocrypto.py b/src/msocrypto.py
index c264d54..09989c2 100644
--- a/src/msocrypto.py
+++ b/src/msocrypto.py
@@ -72,4 +72,5 @@ class EncryptionInfo(object):
         self.outputInt("header stream size", self.size)
 
     def outputAgile (self):
-        pass
+        bytes = self.strm.readRemainingBytes()
+        print (bytes)


More information about the Libreoffice-commits mailing list