Remove unnecessary else

This commit is contained in:
ekzyis 2023-09-28 01:22:41 +02:00
parent 41865c5107
commit d276299e67
1 changed files with 0 additions and 2 deletions

View File

@ -38,8 +38,6 @@ func Encrypt(key []byte, plaintext string, options *EncryptOptions) (string, err
)
if options.Version != 0 {
version = options.Version
} else {
version = 1
}
if options.Salt != nil {
salt = options.Salt