mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:59:27 +08:00
1 parent
2ae89e54b4
commit
786b1a41c2
14 files changed
+250
-97
No files matched your search
@@ -307,6 +307,9 @@ func (r *Reader) VerifyDocumentSignatures(index int, opts ...SignatureVerifyOpti
|
||||
}
|
||||
body := r.OFD.DocBody[index]
|
||||
options.DocIndex, options.DocRoot = index, r.signatureCoveragePath(body.DocRoot)
|
||||
if index == 0 && r.doc != nil && r.doc.Signatures == "" {
|
||||
return nil, nil
|
||||
}
|
||||
data, err := r.readFile(body.DocRoot)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user