[CAST] - OTX Server 2.X.S-3 LORD ZEDD (7.x/8.x/8.5x/8.6x/8.7x/10.x)

seyakuroya

Intermediate OT User
Joined
Dec 21, 2008
Messages
681
Reaction score
367
Trying compile 8.1


Code:
 CXX      otserv.o
  CXX      outputmessage.o
otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’:
otserv.cpp:598:18: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
  BN_dec2bn(&g_RSA->p, g_config.getString(ConfigManager::RSA_PRIME1).c_str());
                  ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/asn1.h:16,
                 from /usr/include/openssl/rsa.h:16,
                 from otserv.cpp:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
 

CipsoftStinks

www.relicaria.com
Joined
Oct 1, 2016
Messages
911
Reaction score
113
Location
Chile
game.cpp after this
Code:
if(!player || player->isRemoved())
        return false;
add this
Code:
if(playerId == invitedId)
        return false;
 
Top