same workaround for client
This commit is contained in:
parent
87cf2d7ade
commit
1972e7a428
@ -98,8 +98,9 @@ if args.b or dump:
|
|||||||
|
|
||||||
SignEVP = M2Crypto.EVP.load_key(c.privkey)
|
SignEVP = M2Crypto.EVP.load_key(c.privkey)
|
||||||
SignEVP.sign_init()
|
SignEVP.sign_init()
|
||||||
SignEVP.sign_update(signed_message)
|
encoded_signed_message = signed_message.encode('utf-8')
|
||||||
StringSignature = SignEVP.sign_final().encode('hex')
|
SignEVP.sign_update(encoded_signed_message)
|
||||||
|
StringSignature = binascii.hexlify(SignEVP.sign_final()).decode('utf-8')
|
||||||
|
|
||||||
signed_dict = {
|
signed_dict = {
|
||||||
#"protocolVersion": version.protocol,
|
#"protocolVersion": version.protocol,
|
||||||
|
Loading…
Reference in New Issue
Block a user