Revert "Fix compilation with OpenSSL >= 1.1.0"#51
Revert "Fix compilation with OpenSSL >= 1.1.0"#51parapente wants to merge 1 commit intolanmessenger:masterfrom
Conversation
|
is there an easy way to: |
|
@freddii I have compiled successfully the code at the dev branch on my fork of lanmessenger using kubuntu but I have never created a deb package before. Also the code is not mine to start pushing packages, I just tried to fix a couple of bugs I found. |
|
thanks for your response! |
|
git clone git@github.com:parapente/lanmessenger.git You will find the compiled program in lmc/release/ and the skeleton for the debian package in lmc/setup/x11/package/DEBIAN |
|
compilation was working. … nger/lmc/release] dev* ± ./lan-messenger |
Reverts #18
The wrapper though it kind of works, creates new problems like random crashes in windows and even crash on connect in linux. encryptMap and decryptMap should be able to retain a ctx pointer as long as the app is running but when lmcCrypto::generateAES or lmcCrypto::retreiveAES functions finish execution, all objects of class EVP_CIPHER_CTX_wrapper are destroyed calling the destructor of the class which in turn frees the ctx pointer. As long as the pointer isn't overwritten the app seems to work just fine. I have another solution for using openssl 1.1.x in parapente@cd40f74 but it will not compile for openssl versions before v1.1.0.