mirror of
https://github.com/znc/znc.git
synced 2026-05-18 07:15:54 +02:00
crypt: fix usage of DH_compute_key, close #1469
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user