Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix compilation with OpenSSL >= 1.1.0" #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

parapente
Copy link

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.

@freddii
Copy link

freddii commented Feb 6, 2021

is there an easy way to:
get a prebuild deb file
or build my own deb file?

@parapente
Copy link
Author

@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.

@freddii
Copy link

freddii commented Feb 7, 2021

thanks for your response!
Do you have an easy to use instruction, how to compile your repo ?

@parapente
Copy link
Author

parapente commented Feb 7, 2021

git clone [email protected]:parapente/lanmessenger.git
cd lanmessenger
git checkout dev
cd lmcapp/src/
qmake && make
cd ../../lmc/src
qmake && make

You will find the compiled program in lmc/release/ and the skeleton for the debian package in lmc/setup/x11/package/DEBIAN

@freddii
Copy link

freddii commented Feb 7, 2021

compilation was working.
How do i make lanmessanger to find the liblmcapp.so.2 ?

… nger/lmc/release] dev* ± ./lan-messenger
./lan-messenger: error while loading shared libraries: liblmcapp.so.2: cannot open shared object file: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants