mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 07:27:33 +08:00
format code
This commit is contained in:
@@ -148,7 +148,7 @@ func AESGCMDecrypt(key []byte, ciphertext []byte) ([]byte, error) {
|
||||
|
||||
nonceSize := aesgcm.NonceSize()
|
||||
|
||||
if len(ciphertext) - nonceSize <= 0 {
|
||||
if len(ciphertext)-nonceSize <= 0 {
|
||||
return nil, errs.ErrCiphertextInvalid
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user