Skip to content

Instantly share code, notes, and snippets.

@sushihangover
Created February 21, 2015 11:42
Show Gist options
  • Save sushihangover/fdc71fd407a338c74ef9 to your computer and use it in GitHub Desktop.
Save sushihangover/fdc71fd407a338c74ef9 to your computer and use it in GitHub Desktop.
MonaServer OS-X Compile output via HomeBrew gcc 4.9.2_1
Mars:MonaServer administrator$ make CC=g++-4.9 clean
cd MonaBase && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean && cd ../MonaCore && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean && cd ../MonaServer && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean && cd ../UnitTests && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean
cleaning project MonaBase
cleaning project MonaCore
cleaning project MonaServer
cleaning project UnitTests
Mars:MonaServer administrator$ make CC=g++-4.9
cd MonaBase && /Applications/Xcode.app/Contents/Developer/usr/bin/make && cd ../MonaCore && /Applications/Xcode.app/Contents/Developer/usr/bin/make && cd ../MonaServer && /Applications/Xcode.app/Contents/Developer/usr/bin/make && cd ../UnitTests && /Applications/Xcode.app/Contents/Developer/usr/bin/make
mkdir -p tmp/Release
mkdir -p lib
compiling sources/Application.cpp
compiling sources/AttemptCounter.cpp
compiling sources/BinaryReader.cpp
compiling sources/BinaryWriter.cpp
compiling sources/Buffer.cpp
compiling sources/Crypto.cpp
In file included from sources/Crypto.cpp:20:0:
./include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
sources/Crypto.cpp: In member function 'Mona::UInt8* Mona::Crypto::HMAC::compute(const EVP_MD*, const void*, int, const UInt8*, size_t, Mona::UInt8*)':
sources/Crypto.cpp:27:2: warning: 'void HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/hmac.h:97) [-Wdeprecated-declarations]
HMAC_Init_ex(&_hmacCTX,key, keySize, evpMD, NULL);
^
sources/Crypto.cpp:27:50: warning: 'void HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/hmac.h:97) [-Wdeprecated-declarations]
HMAC_Init_ex(&_hmacCTX,key, keySize, evpMD, NULL);
^
sources/Crypto.cpp:28:2: warning: 'void HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated (declared at /usr/include/openssl/hmac.h:99) [-Wdeprecated-declarations]
HMAC_Update(&_hmacCTX, data, size);
^
sources/Crypto.cpp:28:35: warning: 'void HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated (declared at /usr/include/openssl/hmac.h:99) [-Wdeprecated-declarations]
HMAC_Update(&_hmacCTX, data, size);
^
sources/Crypto.cpp:29:2: warning: 'void HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated (declared at /usr/include/openssl/hmac.h:100) [-Wdeprecated-declarations]
HMAC_Final(&_hmacCTX, value,NULL);
^
sources/Crypto.cpp:29:34: warning: 'void HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated (declared at /usr/include/openssl/hmac.h:100) [-Wdeprecated-declarations]
HMAC_Final(&_hmacCTX, value,NULL);
^
compiling sources/DNS.cpp
compiling sources/Database.cpp
sources/Database.cpp: In member function 'void Mona::Database::processEntry(Mona::Exception&, Mona::Database::Entry&)':
sources/Database.cpp:117:2: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(entry.pBuffer->data(), entry.pBuffer->size(), result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp:117:73: warning: 'const EVP_MD* EVP_md5()' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
EVP_Digest(entry.pBuffer->data(), entry.pBuffer->size(), result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp:117:81: warning: 'const EVP_MD* EVP_md5()' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
EVP_Digest(entry.pBuffer->data(), entry.pBuffer->size(), result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp:117:88: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(entry.pBuffer->data(), entry.pBuffer->size(), result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp: In lambda function:
sources/Database.cpp:190:3: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(buffer.data(), size, result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp:190:49: warning: 'const EVP_MD* EVP_md5()' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
EVP_Digest(buffer.data(), size, result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp:190:57: warning: 'const EVP_MD* EVP_md5()' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
EVP_Digest(buffer.data(), size, result, NULL, EVP_md5(), NULL);
^
sources/Database.cpp:190:64: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(buffer.data(), size, result, NULL, EVP_md5(), NULL);
^
compiling sources/Date.cpp
compiling sources/DiffieHellman.cpp
In file included from sources/DiffieHellman.cpp:21:0:
./include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
sources/DiffieHellman.cpp: In destructor 'virtual Mona::DiffieHellman::~DiffieHellman()':
sources/DiffieHellman.cpp:54:3: warning: 'void DH_free(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:185) [-Wdeprecated-declarations]
DH_free(_pDH);
^
sources/DiffieHellman.cpp:54:15: warning: 'void DH_free(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:185) [-Wdeprecated-declarations]
DH_free(_pDH);
^
sources/DiffieHellman.cpp: In member function 'bool Mona::DiffieHellman::initialize(Mona::Exception&, bool)':
sources/DiffieHellman.cpp:61:3: warning: 'void DH_free(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:185) [-Wdeprecated-declarations]
DH_free(_pDH);
^
sources/DiffieHellman.cpp:61:15: warning: 'void DH_free(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:185) [-Wdeprecated-declarations]
DH_free(_pDH);
^
sources/DiffieHellman.cpp:62:9: warning: 'DH* DH_new()' is deprecated (declared at /usr/include/openssl/dh.h:184) [-Wdeprecated-declarations]
_pDH = DH_new();
^
sources/DiffieHellman.cpp:62:16: warning: 'DH* DH_new()' is deprecated (declared at /usr/include/openssl/dh.h:184) [-Wdeprecated-declarations]
_pDH = DH_new();
^
sources/DiffieHellman.cpp:63:12: warning: 'BIGNUM* BN_new()' is deprecated (declared at /usr/include/openssl/bn.h:417) [-Wdeprecated-declarations]
_pDH->p = BN_new();
^
sources/DiffieHellman.cpp:63:19: warning: 'BIGNUM* BN_new()' is deprecated (declared at /usr/include/openssl/bn.h:417) [-Wdeprecated-declarations]
_pDH->p = BN_new();
^
sources/DiffieHellman.cpp:64:12: warning: 'BIGNUM* BN_new()' is deprecated (declared at /usr/include/openssl/bn.h:417) [-Wdeprecated-declarations]
_pDH->g = BN_new();
^
sources/DiffieHellman.cpp:64:19: warning: 'BIGNUM* BN_new()' is deprecated (declared at /usr/include/openssl/bn.h:417) [-Wdeprecated-declarations]
_pDH->g = BN_new();
^
sources/DiffieHellman.cpp:67:2: warning: 'int BN_set_word(BIGNUM*, long unsigned int)' is deprecated (declared at /usr/include/openssl/bn.h:464) [-Wdeprecated-declarations]
BN_set_word(_pDH->g, 2); //group DH 2
^
sources/DiffieHellman.cpp:67:24: warning: 'int BN_set_word(BIGNUM*, long unsigned int)' is deprecated (declared at /usr/include/openssl/bn.h:464) [-Wdeprecated-declarations]
BN_set_word(_pDH->g, 2); //group DH 2
^
sources/DiffieHellman.cpp:68:2: warning: 'BIGNUM* BN_bin2bn(const unsigned char*, int, BIGNUM*)' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
BN_bin2bn(DH1024p,SIZE,_pDH->p); //prime number
^
sources/DiffieHellman.cpp:68:32: warning: 'BIGNUM* BN_bin2bn(const unsigned char*, int, BIGNUM*)' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
BN_bin2bn(DH1024p,SIZE,_pDH->p); //prime number
^
sources/DiffieHellman.cpp:71:7: warning: 'int DH_generate_key(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:204) [-Wdeprecated-declarations]
if (!DH_generate_key(_pDH)) {
^
sources/DiffieHellman.cpp:71:27: warning: 'int DH_generate_key(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:204) [-Wdeprecated-declarations]
if (!DH_generate_key(_pDH)) {
^
sources/DiffieHellman.cpp:73:3: warning: 'void DH_free(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:185) [-Wdeprecated-declarations]
DH_free(_pDH);
^
sources/DiffieHellman.cpp:73:15: warning: 'void DH_free(DH*)' is deprecated (declared at /usr/include/openssl/dh.h:185) [-Wdeprecated-declarations]
DH_free(_pDH);
^
sources/DiffieHellman.cpp: In member function 'Mona::Buffer& Mona::DiffieHellman::computeSecret(Mona::Exception&, const UInt8*, Mona::UInt32, Mona::Buffer&)':
sources/DiffieHellman.cpp:83:24: warning: 'BIGNUM* BN_bin2bn(const unsigned char*, int, BIGNUM*)' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
BIGNUM *bnFarPubKey = BN_bin2bn(farPubKey,farPubKeySize,NULL);
^
sources/DiffieHellman.cpp:83:62: warning: 'BIGNUM* BN_bin2bn(const unsigned char*, int, BIGNUM*)' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
BIGNUM *bnFarPubKey = BN_bin2bn(farPubKey,farPubKeySize,NULL);
^
sources/DiffieHellman.cpp:85:13: warning: 'int DH_compute_key(unsigned char*, const BIGNUM*, DH*)' is deprecated (declared at /usr/include/openssl/dh.h:205) [-Wdeprecated-declarations]
int size = DH_compute_key(sharedSecret.data(), bnFarPubKey, _pDH);
^
sources/DiffieHellman.cpp:85:66: warning: 'int DH_compute_key(unsigned char*, const BIGNUM*, DH*)' is deprecated (declared at /usr/include/openssl/dh.h:205) [-Wdeprecated-declarations]
int size = DH_compute_key(sharedSecret.data(), bnFarPubKey, _pDH);
^
sources/DiffieHellman.cpp:90:2: warning: 'void BN_free(BIGNUM*)' is deprecated (declared at /usr/include/openssl/bn.h:468) [-Wdeprecated-declarations]
BN_free(bnFarPubKey);
^
sources/DiffieHellman.cpp:90:21: warning: 'void BN_free(BIGNUM*)' is deprecated (declared at /usr/include/openssl/bn.h:468) [-Wdeprecated-declarations]
BN_free(bnFarPubKey);
^
compiling sources/Exceptions.cpp
compiling sources/FileSystem.cpp
compiling sources/FileWatcher.cpp
compiling sources/HelpFormatter.cpp
compiling sources/HostEntry.cpp
compiling sources/IPAddress.cpp
compiling sources/Logger.cpp
compiling sources/Logs.cpp
compiling sources/MapParameters.cpp
compiling sources/Mona.cpp
compiling sources/Net.cpp
compiling sources/Option.cpp
compiling sources/Options.cpp
compiling sources/Parameters.cpp
compiling sources/Path.cpp
compiling sources/PoolBuffers.cpp
compiling sources/PoolThread.cpp
compiling sources/Process.cpp
compiling sources/QualityOfService.cpp
compiling sources/ServerApplication.cpp
compiling sources/Signal.cpp
compiling sources/Socket.cpp
compiling sources/SocketAddress.cpp
compiling sources/SocketManager.cpp
compiling sources/SocketSender.cpp
compiling sources/Startable.cpp
compiling sources/String.cpp
compiling sources/SubstreamMap.cpp
compiling sources/TCPClient.cpp
compiling sources/TCPServer.cpp
compiling sources/Task.cpp
compiling sources/TaskHandler.cpp
compiling sources/TerminateSignal.cpp
compiling sources/Timezone.cpp
compiling sources/Trigger.cpp
compiling sources/UDPSocket.cpp
compiling sources/Util.cpp
compiling sources/XMLParser.cpp
creating dynamic lib lib/libMonaBase.dylib
mkdir -p tmp/Release
mkdir -p lib
compiling sources/AMFReader.cpp
compiling sources/AMFWriter.cpp
compiling sources/DataReader.cpp
compiling sources/FlashMainStream.cpp
sources/FlashMainStream.cpp: In member function 'virtual void Mona::FlashMainStream::rawHandler(Mona::UInt8, Mona::PacketReader&, Mona::FlashWriter&)':
sources/FlashMainStream.cpp:161:5: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(packet.current(),size,(unsigned char *)groupId,NULL,EVP_sha256(),NULL);
^
sources/FlashMainStream.cpp:161:68: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
EVP_Digest(packet.current(),size,(unsigned char *)groupId,NULL,EVP_sha256(),NULL);
^
sources/FlashMainStream.cpp:161:79: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
EVP_Digest(packet.current(),size,(unsigned char *)groupId,NULL,EVP_sha256(),NULL);
^
sources/FlashMainStream.cpp:161:85: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(packet.current(),size,(unsigned char *)groupId,NULL,EVP_sha256(),NULL);
^
compiling sources/FlashStream.cpp
compiling sources/FlashWriter.cpp
compiling sources/ICE.cpp
compiling sources/Invoker.cpp
compiling sources/JSONReader.cpp
compiling sources/JSONWriter.cpp
compiling sources/Listener.cpp
compiling sources/MIME.cpp
compiling sources/MediaContainer.cpp
compiling sources/Peer.cpp
compiling sources/Protocols.cpp
In file included from ./include/Mona/RTMP/RTMP.h:26:0,
from ./include/Mona/RTMP/RTMPSender.h:27,
from ./include/Mona/RTMP/RTMPWriter.h:24,
from ./include/Mona/RTMP/RTMPSession.h:25,
from ./include/Mona/RTMP/RTMProtocol.h:24,
from sources/Protocols.cpp:22:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
In file included from ./include/Mona/RTMFP/RTMFProtocol.h:24:0,
from sources/Protocols.cpp:23:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:24:0,
from ./include/Mona/RTMFP/RTMFPSession.h:28,
from ./include/Mona/RTMFP/RTMFPHandshake.h:25,
from ./include/Mona/RTMFP/RTMFProtocol.h:25,
from sources/Protocols.cpp:23:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
compiling sources/Publication.cpp
compiling sources/QueryReader.cpp
compiling sources/QueryWriter.cpp
compiling sources/ReferableReader.cpp
compiling sources/RelayServer.cpp
compiling sources/SDP.cpp
compiling sources/Server.cpp
compiling sources/Session.cpp
compiling sources/Sessions.cpp
compiling sources/TCPSession.cpp
compiling sources/Writer.cpp
compiling sources/XMLRPCReader.cpp
compiling sources/XMLRPCWriter.cpp
compiling sources/HTTP/HTTP.cpp
compiling sources/HTTP/HTTPDecoder.cpp
compiling sources/HTTP/HTTPPacket.cpp
compiling sources/HTTP/HTTPSender.cpp
compiling sources/HTTP/HTTPSession.cpp
compiling sources/HTTP/HTTPWriter.cpp
compiling sources/RTMFP/RTMFP.cpp
In file included from sources/RTMFP/RTMFP.cpp:20:0:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from sources/RTMFP/RTMFP.cpp:21:0:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
sources/RTMFP/RTMFP.cpp: In static member function 'static void Mona::RTMFP::ComputeAsymetricKeys(const Mona::Buffer&, const UInt8*, Mona::UInt16, const UInt8*, Mona::UInt16, Mona::UInt8*, Mona::UInt8*)':
sources/RTMFP/RTMFP.cpp:67:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),responderNonce,respNonceSize,initiatorNonce,initNonceSize,mdp1);
^
sources/RTMFP/RTMFP.cpp:67:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),responderNonce,respNonceSize,initiatorNonce,initNonceSize,mdp1);
^
sources/RTMFP/RTMFP.cpp:69:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),initiatorNonce,initNonceSize,responderNonce,respNonceSize,mdp2);
^
sources/RTMFP/RTMFP.cpp:69:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),initiatorNonce,initNonceSize,responderNonce,respNonceSize,mdp2);
^
sources/RTMFP/RTMFP.cpp:72:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),mdp1,Crypto::HMAC::SIZE,requestKey);
^
sources/RTMFP/RTMFP.cpp:72:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),mdp1,Crypto::HMAC::SIZE,requestKey);
^
sources/RTMFP/RTMFP.cpp:73:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),mdp2,Crypto::HMAC::SIZE,responseKey);
^
sources/RTMFP/RTMFP.cpp:73:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),mdp2,Crypto::HMAC::SIZE,responseKey);
^
compiling sources/RTMFP/RTMFPCookie.cpp
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:24:0,
from ./include/Mona/RTMFP/RTMFPCookie.h:24,
from sources/RTMFP/RTMFPCookie.cpp:20:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:25:0,
from ./include/Mona/RTMFP/RTMFPCookie.h:24,
from sources/RTMFP/RTMFPCookie.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
compiling sources/RTMFP/RTMFPCookieComputing.cpp
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:24:0,
from sources/RTMFP/RTMFPCookieComputing.cpp:20:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:25:0,
from sources/RTMFP/RTMFPCookieComputing.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from sources/RTMFP/RTMFPCookieComputing.cpp:24:0:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
compiling sources/RTMFP/RTMFPDecoder.cpp
In file included from ./include/Mona/RTMFP/RTMFPDecoder.h:24:0,
from sources/RTMFP/RTMFPDecoder.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from sources/RTMFP/RTMFPDecoder.cpp:21:0:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
compiling sources/RTMFP/RTMFPFlow.cpp
In file included from ./include/Mona/RTMFP/RTMFPWriter.h:23:0,
from ./include/Mona/RTMFP/RTMFPFlow.h:25,
from sources/RTMFP/RTMFPFlow.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
compiling sources/RTMFP/RTMFPHandshake.cpp
In file included from ./include/Mona/RTMFP/RTMFPWriter.h:23:0,
from ./include/Mona/RTMFP/RTMFPFlow.h:25,
from ./include/Mona/RTMFP/RTMFPSession.h:25,
from ./include/Mona/RTMFP/RTMFPHandshake.h:25,
from sources/RTMFP/RTMFPHandshake.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:24:0,
from ./include/Mona/RTMFP/RTMFPSession.h:28,
from ./include/Mona/RTMFP/RTMFPHandshake.h:25,
from sources/RTMFP/RTMFPHandshake.cpp:20:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
sources/RTMFP/RTMFPHandshake.cpp: In member function 'Mona::UInt8 Mona::RTMFPHandshake::handshakeHandler(Mona::UInt8, const Mona::SocketAddress&, Mona::BinaryReader&, Mona::BinaryWriter&)':
sources/RTMFP/RTMFPHandshake.cpp:292:5: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(request.current(),size,cookie.pPeer->id,NULL,EVP_sha256(),NULL);
^
sources/RTMFP/RTMFPHandshake.cpp:292:61: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
EVP_Digest(request.current(),size,cookie.pPeer->id,NULL,EVP_sha256(),NULL);
^
sources/RTMFP/RTMFPHandshake.cpp:292:72: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
EVP_Digest(request.current(),size,cookie.pPeer->id,NULL,EVP_sha256(),NULL);
^
sources/RTMFP/RTMFPHandshake.cpp:292:78: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(request.current(),size,cookie.pPeer->id,NULL,EVP_sha256(),NULL);
^
compiling sources/RTMFP/RTMFPSender.cpp
In file included from ./include/Mona/RTMFP/RTMFPSender.h:25:0,
from sources/RTMFP/RTMFPSender.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from sources/RTMFP/RTMFPSender.cpp:21:0:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
compiling sources/RTMFP/RTMFPSession.cpp
In file included from ./include/Mona/RTMFP/RTMFPWriter.h:23:0,
from ./include/Mona/RTMFP/RTMFPFlow.h:25,
from ./include/Mona/RTMFP/RTMFPSession.h:25,
from sources/RTMFP/RTMFPSession.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:24:0,
from ./include/Mona/RTMFP/RTMFPSession.h:28,
from sources/RTMFP/RTMFPSession.cpp:20:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
compiling sources/RTMFP/RTMFPWriter.cpp
In file included from ./include/Mona/RTMFP/RTMFPWriter.h:23:0,
from sources/RTMFP/RTMFPWriter.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
compiling sources/RTMFP/RTMFProtocol.cpp
In file included from ./include/Mona/RTMFP/RTMFProtocol.h:24:0,
from sources/RTMFP/RTMFProtocol.cpp:20:
./include/Mona/RTMFP/RTMFP.h: In constructor 'Mona::RTMFPEngine::RTMFPEngine(const UInt8*, Mona::RTMFPEngine::Direction)':
./include/Mona/RTMFP/RTMFP.h:47:3: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h:47:32: warning: 'void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:636) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_init(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In destructor 'virtual Mona::RTMFPEngine::~RTMFPEngine()':
./include/Mona/RTMFP/RTMFP.h:50:3: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h:50:35: warning: 'int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX*)' is deprecated (declared at /usr/include/openssl/evp.h:637) [-Wdeprecated-declarations]
EVP_CIPHER_CTX_cleanup(&_context);
^
./include/Mona/RTMFP/RTMFP.h: In member function 'void Mona::RTMFPEngine::process(Mona::UInt8*, int)':
./include/Mona/RTMFP/RTMFP.h:55:3: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:32: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:48: warning: 'const EVP_CIPHER* EVP_aes_128_cbc()' is deprecated (declared at /usr/include/openssl/evp.h:759) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:55:76: warning: 'int EVP_CipherInit_ex(EVP_CIPHER_CTX*, const EVP_CIPHER*, ENGINE*, const unsigned char*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:599) [-Wdeprecated-declarations]
EVP_CipherInit_ex(&_context, EVP_aes_128_cbc(), NULL, _key, IV,_direction);
^
./include/Mona/RTMFP/RTMFP.h:56:3: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
./include/Mona/RTMFP/RTMFP.h:56:54: warning: 'int EVP_CipherUpdate(EVP_CIPHER_CTX*, unsigned char*, int*, const unsigned char*, int)' is deprecated (declared at /usr/include/openssl/evp.h:602) [-Wdeprecated-declarations]
EVP_CipherUpdate(&_context, data, &size, data, size);
^
In file included from ./include/Mona/RTMFP/RTMFPCookieComputing.h:24:0,
from ./include/Mona/RTMFP/RTMFPSession.h:28,
from ./include/Mona/RTMFP/RTMFPHandshake.h:25,
from ./include/Mona/RTMFP/RTMFProtocol.h:25,
from sources/RTMFP/RTMFProtocol.cpp:20:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
compiling sources/RTMP/RTMP.cpp
In file included from ./include/Mona/RTMP/RTMP.h:26:0,
from sources/RTMP/RTMP.cpp:20:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
In file included from sources/RTMP/RTMP.cpp:23:0:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
sources/RTMP/RTMP.cpp: In static member function 'static const UInt8* Mona::RTMP::ValidateClientScheme(Mona::Crypto::HMAC&, const UInt8*, Mona::UInt32, bool, Mona::UInt32&)':
sources/RTMP/RTMP.cpp:104:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),FPKey,sizeof(FPKey),content,sizeof(content),hash);
^
sources/RTMP/RTMP.cpp:104:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),FPKey,sizeof(FPKey),content,sizeof(content),hash);
^
sources/RTMP/RTMP.cpp: In static member function 'static bool Mona::RTMP::WriteDigestAndKey(Mona::Exception&, Mona::Crypto::HMAC&, const UInt8*, Mona::UInt32, bool, Mona::UInt8*, Mona::UInt32)':
sources/RTMP/RTMP.cpp:124:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),FMSKey,36,content,sizeof(content),data+pos);
^
sources/RTMP/RTMP.cpp:124:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),FMSKey,36,content,sizeof(content),data+pos);
^
sources/RTMP/RTMP.cpp:128:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),FMSKey,sizeof(FMSKey),key,keySize,hash);
^
sources/RTMP/RTMP.cpp:128:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),FMSKey,sizeof(FMSKey),key,keySize,hash);
^
sources/RTMP/RTMP.cpp:130:15: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),hash,Crypto::HMAC::SIZE,data + 1537,1504,data+size-Crypto::HMAC::SIZE);
^
sources/RTMP/RTMP.cpp:130:26: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
hmac.compute(EVP_sha256(),hash,Crypto::HMAC::SIZE,data + 1537,1504,data+size-Crypto::HMAC::SIZE);
^
sources/RTMP/RTMP.cpp: In static member function 'static void Mona::RTMP::ComputeRC4Keys(Mona::Crypto::HMAC&, const UInt8*, Mona::UInt32, const UInt8*, Mona::UInt32, const Mona::Buffer&, RC4_KEY&, RC4_KEY&)':
sources/RTMP/RTMP.cpp:139:2: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:84) [-Wdeprecated-declarations]
RC4_set_key(&decryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),pubKey,pubKeySize,hash));
^
sources/RTMP/RTMP.cpp:139:44: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
RC4_set_key(&decryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),pubKey,pubKeySize,hash));
^
sources/RTMP/RTMP.cpp:139:55: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
RC4_set_key(&decryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),pubKey,pubKeySize,hash));
^
sources/RTMP/RTMP.cpp:139:120: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:84) [-Wdeprecated-declarations]
RC4_set_key(&decryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),pubKey,pubKeySize,hash));
^
sources/RTMP/RTMP.cpp:140:2: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:84) [-Wdeprecated-declarations]
RC4_set_key(&encryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),farPubKey,farPubKeySize,hash));
^
sources/RTMP/RTMP.cpp:140:44: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
RC4_set_key(&encryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),farPubKey,farPubKeySize,hash));
^
sources/RTMP/RTMP.cpp:140:55: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
RC4_set_key(&encryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),farPubKey,farPubKeySize,hash));
^
sources/RTMP/RTMP.cpp:140:126: warning: 'void RC4_set_key(RC4_KEY*, int, const unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:84) [-Wdeprecated-declarations]
RC4_set_key(&encryptKey, 16, hmac.compute(EVP_sha256(),sharedSecret.data(),sharedSecret.size(),farPubKey,farPubKeySize,hash));
^
sources/RTMP/RTMP.cpp:143:2: warning: 'void RC4(RC4_KEY*, long unsigned int, const unsigned char*, unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
RC4(&encryptKey, 1536, AlignData, AlignData);
^
sources/RTMP/RTMP.cpp:143:45: warning: 'void RC4(RC4_KEY*, long unsigned int, const unsigned char*, unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
RC4(&encryptKey, 1536, AlignData, AlignData);
^
compiling sources/RTMP/RTMPHandshaker.cpp
In file included from sources/RTMP/RTMPHandshaker.cpp:21:0:
./../MonaBase/include/Mona/DiffieHellman.h: In member function 'void Mona::DiffieHellman::readKey(BIGNUM*, Mona::UInt8*)':
./../MonaBase/include/Mona/DiffieHellman.h:50:43: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
./../MonaBase/include/Mona/DiffieHellman.h:50:62: warning: 'int BN_bn2bin(const BIGNUM*, unsigned char*)' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
void readKey(BIGNUM *pKey, UInt8* key) { BN_bn2bin(pKey, key); }
^
In file included from ./include/Mona/RTMP/RTMP.h:26:0,
from sources/RTMP/RTMPHandshaker.cpp:23:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
compiling sources/RTMP/RTMPSender.cpp
In file included from ./include/Mona/RTMP/RTMP.h:26:0,
from ./include/Mona/RTMP/RTMPSender.h:27,
from sources/RTMP/RTMPSender.cpp:20:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
compiling sources/RTMP/RTMPSession.cpp
In file included from ./include/Mona/RTMP/RTMP.h:26:0,
from ./include/Mona/RTMP/RTMPSender.h:27,
from ./include/Mona/RTMP/RTMPWriter.h:24,
from ./include/Mona/RTMP/RTMPSession.h:25,
from sources/RTMP/RTMPSession.cpp:20:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
sources/RTMP/RTMPSession.cpp: In member function 'bool Mona::RTMPSession::buildPacket(Mona::BinaryReader&)':
sources/RTMP/RTMPSession.cpp:104:3: warning: 'void RC4(RC4_KEY*, long unsigned int, const unsigned char*, unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
RC4(pDecryptKey().get(),packet.available()-_decrypted,packet.current()+_decrypted,(UInt8*)packet.current()+_decrypted);
^
sources/RTMP/RTMPSession.cpp:104:120: warning: 'void RC4(RC4_KEY*, long unsigned int, const unsigned char*, unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
RC4(pDecryptKey().get(),packet.available()-_decrypted,packet.current()+_decrypted,(UInt8*)packet.current()+_decrypted);
^
compiling sources/RTMP/RTMPWriter.cpp
In file included from ./include/Mona/RTMP/RTMP.h:26:0,
from ./include/Mona/RTMP/RTMPSender.h:27,
from ./include/Mona/RTMP/RTMPWriter.h:24,
from sources/RTMP/RTMPWriter.cpp:20:
./../MonaBase/include/Mona/Crypto.h: In constructor 'Mona::Crypto::HMAC::HMAC()':
./../MonaBase/include/Mona/Crypto.h:38:12: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:38:35: warning: 'void HMAC_CTX_init(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
HMAC() { HMAC_CTX_init(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h: In destructor 'virtual Mona::Crypto::HMAC::~HMAC()':
./../MonaBase/include/Mona/Crypto.h:39:21: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
./../MonaBase/include/Mona/Crypto.h:39:47: warning: 'void HMAC_CTX_cleanup(HMAC_CTX*)' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
virtual ~HMAC() { HMAC_CTX_cleanup(&_hmacCTX); }
^
sources/RTMP/RTMPWriter.cpp: In member function 'virtual void Mona::RTMPWriter::flush()':
sources/RTMP/RTMPWriter.cpp:48:3: warning: 'void RC4(RC4_KEY*, long unsigned int, const unsigned char*, unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
RC4(_pEncryptKey.get(), _pSender->size(), _pSender->data(), (UInt8*)_pSender->data());
^
sources/RTMP/RTMPWriter.cpp:48:87: warning: 'void RC4(RC4_KEY*, long unsigned int, const unsigned char*, unsigned char*)' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
RC4(_pEncryptKey.get(), _pSender->size(), _pSender->data(), (UInt8*)_pSender->data());
^
compiling sources/WebSocket/WS.cpp
sources/WebSocket/WS.cpp: In static member function 'static std::string& Mona::WS::ComputeKey(std::string&)':
sources/WebSocket/WS.cpp:34:2: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(key.c_str(),key.size(),temp,NULL,EVP_sha1(),NULL);
^
sources/WebSocket/WS.cpp:34:46: warning: 'const EVP_MD* EVP_sha1()' is deprecated (declared at /usr/include/openssl/evp.h:666) [-Wdeprecated-declarations]
EVP_Digest(key.c_str(),key.size(),temp,NULL,EVP_sha1(),NULL);
^
sources/WebSocket/WS.cpp:34:55: warning: 'const EVP_MD* EVP_sha1()' is deprecated (declared at /usr/include/openssl/evp.h:666) [-Wdeprecated-declarations]
EVP_Digest(key.c_str(),key.size(),temp,NULL,EVP_sha1(),NULL);
^
sources/WebSocket/WS.cpp:34:61: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(key.c_str(),key.size(),temp,NULL,EVP_sha1(),NULL);
^
compiling sources/WebSocket/WSDecoder.cpp
compiling sources/WebSocket/WSSession.cpp
compiling sources/WebSocket/WSWriter.cpp
creating dynamic lib lib/libMonaCore.dylib
mkdir -p tmp/Release/
compiling sources/LUABroadcaster.cpp
compiling sources/LUAClient.cpp
compiling sources/LUADataTable.cpp
compiling sources/LUAGroup.cpp
compiling sources/LUAIPAddress.cpp
compiling sources/LUAInvoker.cpp
sources/LUAInvoker.cpp: In static member function 'static int LUAInvoker::Md5(lua_State*)':
sources/LUAInvoker.cpp:237:5: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_md5(),NULL);
^
sources/LUAInvoker.cpp:237:38: warning: 'const EVP_MD* EVP_md5()' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_md5(),NULL);
^
sources/LUAInvoker.cpp:237:46: warning: 'const EVP_MD* EVP_md5()' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_md5(),NULL);
^
sources/LUAInvoker.cpp:237:52: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_md5(),NULL);
^
sources/LUAInvoker.cpp: In static member function 'static int LUAInvoker::Sha256(lua_State*)':
sources/LUAInvoker.cpp:272:5: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_sha256(),NULL);
^
sources/LUAInvoker.cpp:272:38: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_sha256(),NULL);
^
sources/LUAInvoker.cpp:272:49: warning: 'const EVP_MD* EVP_sha256()' is deprecated (declared at /usr/include/openssl/evp.h:673) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_sha256(),NULL);
^
sources/LUAInvoker.cpp:272:55: warning: 'int EVP_Digest(const void*, size_t, unsigned char*, unsigned int*, const EVP_MD*, ENGINE*)' is deprecated (declared at /usr/include/openssl/evp.h:559) [-Wdeprecated-declarations]
EVP_Digest(data,size,result,NULL,EVP_sha256(),NULL);
^
compiling sources/LUAListener.cpp
compiling sources/LUAMember.cpp
compiling sources/LUAPath.cpp
compiling sources/LUAPublication.cpp
compiling sources/LUAQualityOfService.cpp
compiling sources/LUAServer.cpp
compiling sources/LUASocketAddress.cpp
compiling sources/LUATCPClient.cpp
compiling sources/LUATCPServer.cpp
compiling sources/LUAUDPSocket.cpp
compiling sources/LUAWriter.cpp
compiling sources/LUAXML.cpp
compiling sources/MonaServer.cpp
compiling sources/Script.cpp
compiling sources/ScriptReader.cpp
compiling sources/ScriptWriter.cpp
compiling sources/ServerConnection.cpp
compiling sources/Servers.cpp
compiling sources/Service.cpp
compiling sources/main.cpp
creating executable MonaServer
mkdir -p tmp/Release/
compiling sources/BinaryReaderWriterTest.cpp
compiling sources/BufferTest.cpp
compiling sources/DNSTest.cpp
compiling sources/DatabaseTest.cpp
compiling sources/DateTest.cpp
compiling sources/FileSystemTest.cpp
compiling sources/IPAddressTest.cpp
compiling sources/OptionsTest.cpp
compiling sources/ParametersTest.cpp
compiling sources/PathTest.cpp
compiling sources/SocketAddressTest.cpp
compiling sources/SocketTest.cpp
compiling sources/StopWatchTest.cpp
compiling sources/StringTest.cpp
compiling sources/Test.cpp
compiling sources/TimeTest.cpp
compiling sources/UtilTest.cpp
compiling sources/XMLParserTest.cpp
compiling sources/main.cpp
creating executable UnitTests
Mars:UnitTests administrator$ ./UnitTests -module=all
sources/Test.cpp[32] BinaryReaderWriterTest::Native OK (0ms)
sources/Test.cpp[32] BinaryReaderWriterTest::BigEndian OK (0ms)
sources/Test.cpp[32] BinaryReaderWriterTest::LittleEndian OK (0ms)
sources/Test.cpp[32] BufferTest::Dynamic OK (0ms)
sources/Test.cpp[32] BufferTest::Fix OK (0ms)
sources/Test.cpp[32] DNSTest::HostByName OK (30ms)
sources/Test.cpp[32] DNSTest::HostByAddress OK (4ms)
sources/Test.cpp[32] DatabaseTest::Load OK (32ms)
sources/Test.cpp[32] DatabaseTest::Add OK (2ms)
sources/Test.cpp[32] DatabaseTest::Reload OK (1ms)
sources/Test.cpp[32] DatabaseTest::Remove OK (12ms)
sources/Test.cpp[32] DateTest::General OK (3407ms)
sources/Test.cpp[32] DateTest::ParseISO8601 OK (0ms)
sources/Test.cpp[32] DateTest::ParseISO8601Frac OK (0ms)
sources/Test.cpp[32] DateTest::ParseRFC822 OK (0ms)
sources/Test.cpp[32] DateTest::ParseRFC1123 OK (0ms)
sources/Test.cpp[32] DateTest::ParseHTTP OK (0ms)
sources/Test.cpp[32] DateTest::ParseRFC850 OK (0ms)
sources/Test.cpp[32] DateTest::ParseRFC1036 OK (0ms)
sources/Test.cpp[32] DateTest::ParseASCTIME OK (0ms)
sources/Test.cpp[32] DateTest::ParseSORTABLE OK (0ms)
sources/Test.cpp[32] DateTest::ParseCustom OK (0ms)
sources/Test.cpp[32] DateTest::ParseGuess OK (0ms)
sources/Test.cpp[32] FileSystemTest::Static OK (0ms)
sources/Test.cpp[32] FileSystemTest::Resolution OK (0ms)
sources/Test.cpp[32] FileSystemTest::Creation OK (656ms)
sources/Test.cpp[32] FileSystemTest::Properties OK (0ms)
sources/Test.cpp[32] FileSystemTest::Utf8 OK (1ms)
sources/Test.cpp[32] FileSystemTest::Deletion OK (1ms)
sources/Test.cpp[32] IPAddressTest::Parse OK (0ms)
sources/Test.cpp[32] IPAddressTest::StringConv OK (0ms)
sources/Test.cpp[32] IPAddressTest::StringConv6 OK (0ms)
sources/Test.cpp[32] IPAddressTest::Classification OK (0ms)
sources/Test.cpp[32] IPAddressTest::MCClassification OK (0ms)
sources/Test.cpp[32] IPAddressTest::Classification6 OK (0ms)
sources/Test.cpp[32] IPAddressTest::MCClassification6 OK (0ms)
sources/Test.cpp[32] IPAddressTest::Relationals OK (0ms)
sources/Test.cpp[32] IPAddressTest::Relationals6 OK (0ms)
sources/Test.cpp[32] OptionsTest::TestOption OK (0ms)
sources/Test.cpp[32] OptionsTest::TestOptionsAdd OK (0ms)
sources/Test.cpp[32] OptionsTest::TestProcess OK (1ms)
sources/Test.cpp[32] ParametersTest::MapParameters OK (0ms)
sources/Test.cpp[32] PathTest::CommonWin32 OK (0ms)
sources/Test.cpp[32] PathTest::CommonLinux OK (0ms)
sources/Test.cpp[32] PathTest::Operations OK (0ms)
sources/Test.cpp[32] SocketAddressTest::Behavior OK (138ms)
sources/Test.cpp[32] SocketAddressTest::ToString OK (0ms)
sources/Test.cpp[32] SocketAddressTest::ParsePerformance OK (0ms)
sources/Test.cpp[32] SocketAddressTest::ComparaisonPerformance OK (0ms)
sources/Test.cpp[32] SocketAddressTest::Behavior6 OK (397ms)
sources/Test.cpp[32] SocketAddressTest::Comparisons6 OK (4068ms)
sources/Test.cpp[32] SocketTest::StartSockets OK (0ms)
sources/Test.cpp[32] SocketTest::TCPSocket OK (1292ms)
sources/Test.cpp[32] SocketTest::TCPParallelSocket OK (1132ms)
sources/Test.cpp[32] SocketTest::UDPSocket OK (1ms)
sources/Test.cpp[32] SocketTest::UDPParallelSocket OK (0ms)
sources/Test.cpp[32] SocketTest::StopSockets OK (0ms)
sources/Test.cpp[32] StopWatchTest::TestAll OK (603ms)
sources/Test.cpp[32] StringTest::General OK (0ms)
sources/Test.cpp[32] StringTest::TestFormat OK (0ms)
sources/Test.cpp[32] StringTest::TestFormat0 OK (0ms)
sources/Test.cpp[32] StringTest::TestFloat OK (0ms)
sources/Test.cpp[32] StringTest::TestMultiple OK (0ms)
sources/Test.cpp[32] StringTest::ToNumber OK (0ms)
sources/Test.cpp[32] StringTest::TrimLeft OK (0ms)
sources/Test.cpp[32] StringTest::TrimRight OK (0ms)
sources/Test.cpp[32] StringTest::Trim OK (0ms)
sources/Test.cpp[32] StringTest::Split OK (0ms)
sources/Test.cpp[32] StringTest::ToLower OK (0ms)
sources/Test.cpp[32] StringTest::ICompare OK (0ms)
sources/Test.cpp[32] TimeTest::General OK (406ms)
sources/Test.cpp[32] TimeTest::DateConversion OK (3349ms)
sources/Test.cpp[32] UtilTest::UnpackQuery OK (0ms)
sources/Test.cpp[32] UtilTest::UnpackUrlPerf OK (0ms)
sources/Test.cpp[32] UtilTest::UnpackUrl OK (0ms)
sources/Test.cpp[32] UtilTest::Base64 OK (0ms)
sources/Test.cpp[32] UtilTest::FormatHex OK (0ms)
sources/Test.cpp[32] XMLParserTest::OneShot OK (0ms)
sources/Test.cpp[32] XMLParserTest::StepByStep OK (0ms)
sources/Test.cpp[32] XMLParserTest::Failure OK (0ms)
sources/main.cpp[90] END OF TESTS
Press any key to exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment