Browse Source

remove debug statements from Edit

master
Tovi Jaeschke-Rogers 4 years ago
parent
commit
adf58885f7
2 changed files with 0 additions and 3 deletions
  1. +0
    -3
      Encryption/Edit.go
  2. BIN
      fenc

+ 0
- 3
Encryption/Edit.go View File

@ -1,7 +1,6 @@
package Encryption
import (
"fmt"
"bytes"
"crypto/aes"
"errors"
@ -76,7 +75,6 @@ func EditEncryptedFile(password string, FilePath string) (error) {
// open output file
encryptedFile, e = os.OpenFile(FilePath, os.O_RDWR, 0666)
if e != nil {
fmt.Println(1)
return e
}
@ -87,7 +85,6 @@ func EditEncryptedFile(password string, FilePath string) (error) {
_, e = io.Copy(encryptedFile, bytes.NewReader(ciphertext))
if e != nil {
fmt.Println(2)
return e
}


BIN
fenc View File


Loading…
Cancel
Save