seyakuroya
DevlandOT.eu
- Joined
- Dec 21, 2008
- Messages
- 711
- Solutions
- 1
- Reaction score
- 411
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;