From bea675f9a6057719ce22777a7671cd27d7381794 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Thu, 2 Mar 2017 15:09:01 +0100 Subject: [PATCH] Remove unnecessary "print" from previous commit --- src/highlevelcrypto.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/highlevelcrypto.py b/src/highlevelcrypto.py index 4a24fe20..5e7f549c 100644 --- a/src/highlevelcrypto.py +++ b/src/highlevelcrypto.py @@ -39,11 +39,9 @@ def sign(msg,hexPrivkey): digestAlg = BMConfigParser().safeGet('bitmessagesettings', 'digestalg', 'sha1') if digestAlg == "sha1": # SHA1, this will eventually be deprecated - print "sha1" return makeCryptor(hexPrivkey).sign(msg, digest_alg=OpenSSL.digest_ecdsa_sha1) elif digestAlg == "sha256": # SHA256. Eventually this will become the default - print "sha256" return makeCryptor(hexPrivkey).sign(msg, digest_alg=OpenSSL.EVP_sha256) else: raise ValueError("Unknown digest algorithm %s" % (digestAlgo))