crypt: fix usage of DH_compute_key, close #1469

This commit is contained in:
Alexey Sokolov
2018-01-01 23:13:13 +00:00
parent 42939c998f
commit 57a1fff1af
+1 -1
View File
@@ -142,7 +142,7 @@ class CCryptMod : public CModule {
}
bool DH1080_comp(CString& sOtherPubKey, CString& sSecretKey) {
unsigned long len;
long len;
unsigned char* key = nullptr;
BIGNUM* bOtherPubKey = nullptr;