From a002a2417e9cc9d8dc3d405d2d96f7dd24710082 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 1 Apr 2021 21:52:43 +0800 Subject: #65 fn: VAR.P and VARP and fix Yoda conditions issue --- crypt.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypt.go') diff --git a/crypt.go b/crypt.go index 64eadd6..5ecdf33 100644 --- a/crypt.go +++ b/crypt.go @@ -278,14 +278,12 @@ func extractPart(doc *mscfb.Reader) (encryptionInfoBuf, encryptedPackageBuf []by i, _ := doc.Read(buf) if i > 0 { encryptionInfoBuf = buf - break } case "EncryptedPackage": buf := make([]byte, entry.Size) i, _ := doc.Read(buf) if i > 0 { encryptedPackageBuf = buf - break } } } -- cgit v1.2.1