• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient - Linux Debian 9 - Compile ERROR (RSA)

Snavy

Bakasta
Senator
Joined
Apr 1, 2012
Messages
1,249
Solutions
71
Reaction score
621
Location
Hell
[UPDATED]
I have been trying to Compile OTC on Debian 9 (OpenSSL 1.1.0) but im facing the following
Code:
error; crypt.cpp:358:52: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’ BN_mod_inverse(m_rsa->iqmp, m_rsa->q, m_rsa->p, ctx);
I tried downgrading OpenSSL to 1.0.1 but that didn't do anything about the issue.
After Doing some more research i found that, according to the OpenSSL WIKI, there are 2 things i need to do:

Code:
Access to deprecated functions/macros has been removed by default. To enable access you must do two things.
1) Build OpenSSL with deprecation support (pass "enable-deprecated" as an argument to config)
2) Applications must define "OPENSSL_USE_DEPRECATED" before including OpenSSL header files

but i am not sure how to accomplish this.
 
Last edited:
Look the OpenSSL's documentation and make changes on the otc's source
 
Back
Top