0
0
Fork 0

remove debug output

This commit is contained in:
Gibheer 2015-01-16 11:51:22 +01:00
parent 68167a5891
commit 1ff5d678a2
1 changed files with 0 additions and 2 deletions

View File

@ -58,7 +58,6 @@ func create_signature(flags SignInputFlags) error {
hash := sha256.New()
length, _ := hash.Write(message)
if length != len(message) { return errors.New("Error when creating hash over message!") }
fmt.Println(hash.Sum(nil))
// create signature of the hash using the private key
signature, err := flags.private_key.Sign(
@ -67,7 +66,6 @@ func create_signature(flags SignInputFlags) error {
nil,
)
if err != nil { return err }
fmt.Println(signature)
flags.output_stream.Write(signature)
return nil
}