Add SIGNATURE_BAD_CONTEXT status to verification error.
Add a special status for verification errors that are caused by the signature context.
This commit is contained in:
parent
ad18d59548
commit
257c381604
4 changed files with 18 additions and 7 deletions
|
|
@ -15,6 +15,7 @@ const (
|
|||
SIGNATURE_NOT_SIGNED int = 1
|
||||
SIGNATURE_NO_VERIFIER int = 2
|
||||
SIGNATURE_FAILED int = 3
|
||||
SIGNATURE_BAD_CONTEXT int = 4
|
||||
)
|
||||
|
||||
const DefaultCompression = 2 // ZLIB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue