format code

This commit is contained in:
MaysWind
2020-12-22 22:59:50 +08:00
parent 8900091671
commit 024960f767
23 changed files with 61 additions and 61 deletions
+1 -1
View File
@@ -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
}