diff options
author | xuri <xuri.me@gmail.com> | 2020-09-02 23:14:19 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-09-02 23:14:19 +0800 |
commit | 98f1a699033b76a1482edc03d533dd1f67bcd2d6 (patch) | |
tree | 9cacf35fadf2a67863e4d7801f041c2933e375a3 /excelize.go | |
parent | 4177c1585e312bee00c1592af3df6423c366e806 (diff) |
support ECMA-376 document standard encryption, ref #199
Diffstat (limited to 'excelize.go')
-rw-r--r-- | excelize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize.go b/excelize.go index 6e2b849..2fc48e5 100644 --- a/excelize.go +++ b/excelize.go @@ -111,7 +111,7 @@ func OpenReader(r io.Reader, opt ...Options) (*File, error) { if err != nil { return nil, err } - if bytes.Contains(b, cryptoIdentifier) { + if bytes.Contains(b, oleIdentifier) { var option Options for _, o := range opt { option = o |