aboutsummaryrefslogtreecommitdiff
path: root/sign_input.go
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-01-16 11:51:22 +0100
committerGibheer <gibheer@gmail.com>2015-01-16 11:51:22 +0100
commit1ff5d678a2df34ea601ce6a416b83ed767219c49 (patch)
tree52c57507246e8ff9dda344aa094d0fdc03c46828 /sign_input.go
parent68167a5891e3680331a44ab20fdb198e0447cf88 (diff)
remove debug output
Diffstat (limited to 'sign_input.go')
-rw-r--r--sign_input.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/sign_input.go b/sign_input.go
index 4cd9035..6a264dc 100644
--- a/sign_input.go
+++ b/sign_input.go
@@ -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
}